Home
last modified time | relevance | path

Searched refs:M_PI_2 (Results 1 – 8 of 8) sorted by relevance

/reactos/win32ss/gdi/ntgdi/
H A Dpath.c903 ASSERT(fabs(angleEnd - angleStart) <= M_PI_2); in PATH_DoArcPart()
1076 angleEndQuadrant = (floor(angleStart / M_PI_2) + 1.0) * M_PI_2; in PATH_Arc()
1078 angleEndQuadrant = (ceil(angleStart / M_PI_2) - 1.0) * M_PI_2; in PATH_Arc()
1084 angleEndQuadrant += M_PI_2; in PATH_Arc()
1086 angleEndQuadrant -= M_PI_2; in PATH_Arc()
1936 pt.x = xo - round(penWidthIn * cos(theta + M_PI_2)); in IntGdiWidenPath()
1937 pt.y = yo - round(penWidthIn * sin(theta + M_PI_2)); in IntGdiWidenPath()
2009 pt.x = xo - round(penWidthIn * cos(theta + M_PI_2)); in IntGdiWidenPath()
2010 pt.y = yo - round(penWidthIn * sin(theta + M_PI_2)); in IntGdiWidenPath()
2014 pt.x = xo + round(penWidthIn * cos(theta + M_PI_2)); in IntGdiWidenPath()
[all …]
/reactos/dll/win32/gdiplus/
H A Dgdiplus.c241 end_angle = min(start_angle + M_PI_2, endAngle); in arc2polybezier()
246 end_angle = max(start_angle - M_PI_2, endAngle); in arc2polybezier()
252 start_angle += M_PI_2 * (sweepAngle < 0.0 ? -1.0 : 1.0); in arc2polybezier()
307 return dy > 0.0 ? M_PI_2 : -M_PI_2; in gdiplus_atan2()
H A Dgraphics.c1700 dsmall = cos(theta + M_PI_2) * size; in draw_cap()
1701 dbig = sin(theta + M_PI_2) * size; in draw_cap()
1769 dx = cos(M_PI_2 + theta) * size; in draw_cap()
1770 dy = sin(M_PI_2 + theta) * size; in draw_cap()
1798 dx = -cos(M_PI_2 + theta) * size; in draw_cap()
1799 dy = -sin(M_PI_2 + theta) * size; in draw_cap()
1837 GdipRotateMatrix(&matrix, (180.0 / M_PI) * (theta - M_PI_2), in draw_cap()
/reactos/sdk/include/reactos/wine/
H A Dport.h149 #ifndef M_PI_2
150 #define M_PI_2 1.570796326794896619 macro
/reactos/modules/rostests/winetests/winetest/
H A Dport.h184 #ifndef M_PI_2
185 #define M_PI_2 1.570796326794896619 macro
/reactos/win32ss/gdi/gdi32/wine/
H A Demfdrv.c44 #define M_PI_2 1.570796326794896619 macro
/reactos/sdk/include/crt/
H A Dmath.h403 #define M_PI_2 1.57079632679489661923 macro
/reactos/modules/rostests/winetests/d3drm/
H A Dd3drm.c3202 hr = IDirect3DRMFrame_AddRotation(frame, D3DRMCOMBINE_REPLACE, 1.0f, 0.0f, 0.0f, M_PI_2); in test_frame_transform()
3217 hr = IDirect3DRMFrame_AddRotation(frame, D3DRMCOMBINE_BEFORE, 1.0f, 0.0f, 0.0f, M_PI_2); in test_frame_transform()
3233 hr = IDirect3DRMFrame_AddRotation(frame, D3DRMCOMBINE_AFTER, 1.0f, 0.0f, 0.0f, M_PI_2); in test_frame_transform()
3244 hr = IDirect3DRMFrame_AddRotation(frame, D3DRMCOMBINE_REPLACE, 0.0f, 0.0f, 1.0f, M_PI_2); in test_frame_transform()
3255 hr = IDirect3DRMFrame_AddRotation(frame, D3DRMCOMBINE_REPLACE, 0.0f, 0.0f, 0.0f, M_PI_2); in test_frame_transform()