/reactos/sdk/lib/crt/math/libm_sse2/ |
H A D | tanh.c | 95 double y2; in tanh() local 96 y2 = y*y; in tanh() 100 z = y + y*y2* in tanh() 104 0.142077926378834722618091e-7*y2)*y2)*y2)/ in tanh() 108 0.2091140262529164482568557e-3*y2)*y2)*y2); in tanh() 113 z = y + y*y2* in tanh() 117 0.115475878996143396378318e-7*y2)*y2)*y2)/ in tanh() 121 0.173076050126225961768710e-3*y2)*y2)*y2); in tanh()
|
H A D | tanhf.c | 101 float y2; in tanhf() local 102 y2 = y*y; in tanhf() 107 z = y + y*y2* in tanhf() 110 0.4891631088530669873e-4F*y2)*y2)/ in tanhf() 112 0.3427017942262751343e0F*y2); in tanhf() 117 z = y + y*y2* in tanhf() 120 0.3827534993599483396e-4F*y2)*y2)/ in tanhf() 122 0.292529068698052819e0F*y2); in tanhf()
|
H A D | hypot.c | 57 double u, r, retval, hx, tx, x2, hy, ty, y2, hs, ts; in FN_PROTOTYPE() local 171 y2 = y*y; in FN_PROTOTYPE() 172 hs = x2 + y2; in FN_PROTOTYPE() 177 ts = (((x2 - hs) + y2) + in FN_PROTOTYPE() 179 ((hy * hy - y2) + 2 * hy * ty) + ty * ty; in FN_PROTOTYPE() 181 ts = (((x2 - hs) + y2) + in FN_PROTOTYPE()
|
H A D | exp2.c | 57 double y, z1, z2, z, hx, tx, y1, y2; in FN_PROTOTYPE() local 131 y2 = (((hx * log2_lead - y1) + hx * log2_tail) + in FN_PROTOTYPE() 134 y = y1 + y2; in FN_PROTOTYPE() 144 z = ((z * y1) + (z * y2)) + 1.0; in FN_PROTOTYPE()
|
/reactos/base/applications/mspaint/ |
H A D | drawing.cpp | 17 LineTo(hdc, x2, y2); in Line() 18 SetPixelV(hdc, x2, y2, color); in Line() 32 Rectangle(hdc, x1, y1, x2, y2); in Rect() 47 Ellipse(hdc, x1, y1, x2, y2); in Ellp() 62 RoundRect(hdc, x1, y1, x2, y2, 16, 16); in RRect() 123 LONG cy = (y1 * (b - a) + y2 * a) / b; in Erase() 139 LONG cy = (y1 * (b - a) + y2 * a) / b; in Replace() 173 Line(hdc, x1, y1, x2, y2, color, thickness); in Brush() 233 RectSel(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2) in RectSel() argument 246 Rectangle(hdc, x1, y1, x2, y2); in RectSel() [all …]
|
H A D | drawing.h | 10 void Line(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, int thickness); 12 void Rect(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, int… 14 void Ellp(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, int… 16 void RRect(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, in… 24 void Erase(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG radius); 26 void Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LONG radius); 30 void Brush(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG style, INT thickness); 32 void RectSel(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2); 34 void Text(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LPCWSTR lpchText, …
|
/reactos/modules/rostests/apitests/user32/ |
H A D | ScrollWindowEx.c | 18 INT x1, y1, x2, y2, dx, dy; in Test_ScrollWindowEx() local 66 y2 = 7; in Test_ScrollWindowEx() 68 hChild2 = CreateWindowW(L"STATIC", L"Child2", style, x2, y2, 10, 10, hWnd, NULL, 0, 0); in Test_ScrollWindowEx() 85 ok_long(rcChild2.top - rc.top, y2 + dy); in Test_ScrollWindowEx() 91 y2 += dy; in Test_ScrollWindowEx() 106 ok_long(rcChild2.top - rc.top, y2 + dy); in Test_ScrollWindowEx()
|
/reactos/sdk/lib/3rdparty/freetype/src/base/ |
H A D | ftbbox.c | 150 FT_Pos y2, in BBox_Conic_Check() argument 160 y1 -= y2; in BBox_Conic_Check() 161 y3 -= y2; in BBox_Conic_Check() 162 y2 += FT_MulDiv( y1, y3, y1 + y3 ); in BBox_Conic_Check() 164 if ( y2 < *min ) in BBox_Conic_Check() 165 *min = y2; in BBox_Conic_Check() 166 if ( y2 > *max ) in BBox_Conic_Check() 167 *max = y2; in BBox_Conic_Check()
|
H A D | ftpsprop.c | 55 FT_Int x1, y1, x2, y2, x3, y3, x4, y4; in ps_property_set() local 91 y2 = darken_params[3]; in ps_property_set() 98 y1 < 0 || y2 < 0 || y3 < 0 || y4 < 0 || in ps_property_set() 100 y1 > 500 || y2 > 500 || y3 > 500 || y4 > 500 ) in ps_property_set() 106 driver->darken_params[3] = y2; in ps_property_set()
|
/reactos/dll/opengl/mesa/ |
H A D | rect.c | 58 void gl_Rectf( GLcontext *ctx, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) in gl_Rectf() argument 73 (*ctx->Exec.Vertex2f)( ctx, x2, y2 ); in gl_Rectf() 74 (*ctx->Exec.Vertex2f)( ctx, x1, y2 ); in gl_Rectf()
|
/reactos/win32ss/gdi/eng/ |
H A D | lineto.c | 447 _In_ LONG y2, in EngLineTo() argument 474 if (y1 < y2) in EngLineTo() 477 DestRect.bottom = y2; in EngLineTo() 481 DestRect.top = y2; in EngLineTo() 503 y2 += Translate.y; in EngLineTo() 508 deltay = y2 - y1; in EngLineTo() 531 vy = y2 + 1; in EngLineTo() 627 LONG y2, in IntEngLineTo() argument 668 (y1 < b.top && y2 < b.top) || (b.bottom <= y1 && b.bottom <= y2)) in IntEngLineTo() 675 b.top = min(y1, y2); in IntEngLineTo() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/raster/ |
H A D | ftraster.c | 818 y = y2; in Insert_Y_Turn() 1019 Dy = y2 - y1; in Line_Up() 1038 if ( y2 > maxy ) in Line_Up() 1206 y2 = arc[0].y; in Bezier_Up() 1212 e2 = FLOOR( y2 ); in Bezier_Up() 1263 y2 = arc[0].y; in Bezier_Up() 1265 if ( y2 > e ) in Bezier_Up() 1505 if ( y2 < ymin || y2 > ymax ) in Conic_To() 1631 if ( y2 <= y3 ) in Cubic_To() 1633 ymin2 = y2; in Cubic_To() [all …]
|
/reactos/dll/win32/gdiplus/ |
H A D | gdiplus.c | 162 static void add_arc_part(GpPointF * pt, REAL x1, REAL y1, REAL x2, REAL y2, in add_arc_part() argument 170 rad_y = y2 / 2.0; in add_arc_part() 223 INT arc2polybezier(GpPointF * points, REAL x1, REAL y1, REAL x2, REAL y2, in arc2polybezier() argument 230 unstretch_angle(&startAngle, x2 / 2.0, y2 / 2.0); in arc2polybezier() 231 unstretch_angle(&endAngle, x2 / 2.0, y2 / 2.0); in arc2polybezier() 250 add_arc_part(&points[i], x1, y1, x2, y2, start_angle, end_angle, i == 0); in arc2polybezier() 380 REAL *y1, REAL *x2, REAL *y2) in calc_curve_bezier() argument 392 *y2 = pts[1].Y + tension * ydiff; in calc_curve_bezier()
|
H A D | graphicspath.c | 131 mp[0].Y = (start->pt.Y + y2) / 2.0; in flatten_bezier() 134 pt.Y = (y2 + y3) / 2.0; in flatten_bezier() 196 REAL y2, REAL startAngle, REAL sweepAngle) in GdipAddPathArc() argument 235 INT y2, REAL startAngle, REAL sweepAngle) in GdipAddPathArcI() argument 244 REAL y2, REAL x3, REAL y3, REAL x4, REAL y4) in GdipAddPathBezier() argument 281 INT y2, INT x3, INT y3, INT x4, INT y4) in GdipAddPathBezierI() argument 368 REAL x1, x2, y1, y2; in GdipAddPathClosedCurve2() local 398 pt[3*i+4].Y = y2; in GdipAddPathClosedCurve2() 413 pt[1].Y = y2; in GdipAddPathClosedCurve2() 485 REAL x1, x2, y1, y2; in GdipAddPathCurve2() local [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/psaux/ |
H A D | psintrp.c | 929 CF2_Fixed x1, y1, x2, y2, x3, y3; in cf2_interpT2CharString() local 935 y2 = ADD_INT32( cf2_stack_getReal( opStack, idx + 3 ), y1 ); in cf2_interpT2CharString() 937 y3 = ADD_INT32( cf2_stack_getReal( opStack, idx + 5 ), y2 ); in cf2_interpT2CharString() 939 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); in cf2_interpT2CharString() 2723 CF2_Fixed x1, y1, x2, y2, x3, y3; in cf2_interpT2CharString() local 2729 y2 = ADD_INT32( cf2_stack_getReal( opStack, idx + 3 ), y1 ); in cf2_interpT2CharString() 2760 CF2_Fixed x1, y1, x2, y2, x3, y3; in cf2_interpT2CharString() local 2805 CF2_Fixed x1, y1, x2, y2, x3, y3; in cf2_interpT2CharString() local 2821 y3 = y2; in cf2_interpT2CharString() 2854 CF2_Fixed x1, x2, x3, y1, y2, y3; in cf2_interpT2CharString() local [all …]
|
H A D | psfont.c | 128 FT_Int y2 = darkenParams[3]; in cf2_computeDarkening() local 173 FT_Int ydelta = y2 - y1; in cf2_computeDarkening() 190 FT_Int ydelta = y3 - y2; in cf2_computeDarkening() 199 FT_DivFix( cf2_intToFixed( y2 ), ppem ); in cf2_computeDarkening()
|
/reactos/win32ss/drivers/displays/vga/objects/ |
H A D | paint.c | 15 int x, y, x2, y2, w, h, j; in VGADDIFillSolid() local 35 y2 = Dimensions.top; in VGADDIFillSolid() 39 y2 = Dimensions.bottom; in VGADDIFillSolid() 45 h = y2 - y; in VGADDIFillSolid()
|
H A D | lineto.c | 303 IN LONG y2, in DrvLineTo() argument 316 deltay = y2 - y1; in DrvLineTo() 335 vy = y2+1; in DrvLineTo() 344 if (y1 == y2) in DrvLineTo()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | path.h | 74 BOOL FASTCALL PATH_Arc (PDC dc, INT x1, INT y1, INT x2, INT y2, INT xStart, INT yStart, INT xEnd, I… 75 BOOL PATH_Ellipse (PDC dc, INT x1, INT y1, INT x2, INT y2); 86 BOOL FASTCALL PATH_Rectangle (PDC dc, INT x1, INT y1, INT x2, INT y2); 87 BOOL PATH_RoundRect(DC *dc, INT x1, INT y1, INT x2, INT y2, INT ell_width, INT ell_height);
|
H A D | arc.c | 17 #define PUTLINE(x1,y1,x2,y2,BrushInst) \ argument 21 x1, y1, x2, y2, \ 261 INT x1, y1, x2, y2, arcdir; in IntGdiAngleArc() local 266 y2 = y - (INT)(sin(((eStartAngle+eSweepAngle)/360)*(M_PI*2)) * dwRadius); in IntGdiAngleArc() 286 y2 ); in IntGdiAngleArc() 292 IntGdiMoveToEx(pDC, x2, y2, NULL); in IntGdiAngleArc()
|
/reactos/sdk/lib/3rdparty/freetype/src/autofit/ |
H A D | afmodule.c | 239 FT_Int x1, y1, x2, y2, x3, y3, x4, y4; in af_property_set() local 275 y2 = darken_params[3]; in af_property_set() 282 y1 < 0 || y2 < 0 || y3 < 0 || y4 < 0 || in af_property_set() 284 y1 > 500 || y2 > 500 || y3 > 500 || y4 > 500 ) in af_property_set() 290 module->darken_params[3] = y2; in af_property_set()
|
H A D | afloader.c | 609 FT_Int x1, y1, x2, y2, x3, y3, x4, y4; in af_loader_compute_darkening() local 627 y2 = module->darken_params[3]; in af_loader_compute_darkening() 662 FT_Int ydelta = y2 - y1; in af_loader_compute_darkening() 679 FT_Int ydelta = y3 - y2; in af_loader_compute_darkening() 688 FT_DivFix( af_intToFixed( y2 ), ppem ); in af_loader_compute_darkening()
|
/reactos/modules/rosapps/applications/screensavers/ssstars/ |
H A D | ssstars.c | 52 float y2; member 229 Vertex[i].y2 = 1.f + yp; in InitGL() 308 glTexCoord2f(1.0f, 1.0f); glVertex3f(Vertex[i].x2, Vertex[i].y2, Vertex[i].z); in render() 309 glTexCoord2f(0.0f, 1.0f); glVertex3f(Vertex[i].x1, Vertex[i].y2, Vertex[i].z); in render() 324 Vertex[i].y2 = 1.f + yp; in render()
|
/reactos/win32ss/drivers/displays/vga/vgavideo/ |
H A D | vgavideo.c | 452 LONG y2 = y + h; in DIB_BltToVGA() local 465 for (j = y; j < y2; j++) in DIB_BltToVGA() 475 for (j = y; j < y2; j++) in DIB_BltToVGA() 496 ULONG y2 = y + h; in DIB_BltToVGAWithXlate() local 509 for (j = y; j < y2; j++) in DIB_BltToVGAWithXlate() 519 for (j = y; j < y2; j++) in DIB_BltToVGAWithXlate() 543 ULONG y2 = y + h; in DIB_TransparentBltToVGA() local 553 for (j=y; j<y2; j++) in DIB_TransparentBltToVGA()
|
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/ |
H A D | dc.c | 630 static BOOL emfpathdrv_Ellipse( PHYSDEV dev, INT x1, INT y1, INT x2, INT y2 ) in emfpathdrv_Ellipse() argument 635 return (emfdev->funcs->pEllipse( emfdev, x1, y1, x2, y2 ) && in emfpathdrv_Ellipse() 636 next->funcs->pEllipse( next, x1, y1, x2, y2 )); in emfpathdrv_Ellipse() 800 static BOOL emfpathdrv_Rectangle( PHYSDEV dev, INT x1, INT y1, INT x2, INT y2 ) in emfpathdrv_Rectangle() argument 805 return (emfdev->funcs->pRectangle( emfdev, x1, y1, x2, y2 ) && in emfpathdrv_Rectangle() 806 next->funcs->pRectangle( next, x1, y1, x2, y2 )); in emfpathdrv_Rectangle() 812 static BOOL emfpathdrv_RoundRect( PHYSDEV dev, INT x1, INT y1, INT x2, INT y2, in emfpathdrv_RoundRect() argument 818 return (emfdev->funcs->pRoundRect( emfdev, x1, y1, x2, y2, ell_width, ell_height ) && in emfpathdrv_RoundRect() 819 next->funcs->pRoundRect( next, x1, y1, x2, y2, ell_width, ell_height )); in emfpathdrv_RoundRect()
|