Searched refs:FX_PI (Results 1 – 9 of 9) sorted by relevance
111 AddArc(x, y, width, height, 0, FX_PI * 2); in AddEllipse()178 while (start_angle > FX_PI * 2) { in AddArc()179 start_angle -= FX_PI * 2; in AddArc()182 start_angle += FX_PI * 2; in AddArc()184 if (sweep_angle >= FX_PI * 2) { in AddArc()185 sweep_angle = FX_PI * 2; in AddArc()187 if (sweep_angle <= -FX_PI * 2) { in AddArc()188 sweep_angle = -FX_PI * 2; in AddArc()200 local_sweep = -FX_PI / 2; in AddArc()201 total_sweep -= FX_PI / 2; in AddArc()[all …]
84 if (FXSYS_fabs(beta - alpha) > FX_PI) { in ArcTo()86 beta -= 2 * FX_PI; in ArcTo()88 alpha -= 2 * FX_PI; in ArcTo()193 FX_FLOAT fEndAngle = FX_PI / 2; in AddEllipse()196 fStartAngle += FX_PI / 2; in AddEllipse()197 fEndAngle += FX_PI / 2; in AddEllipse()
545 FX_FLOAT fTotalY = fLength / FXSYS_cos(FX_PI / 2 - fTheta); in FillLinearGradientPath()
1135 startAngle = -startAngle * FX_PI / 180.0f; in XFA_BOX_GetPath_Arc()1136 sweepAngle = -sweepAngle * FX_PI / 180.0f; in XFA_BOX_GetPath_Arc()1187 sy = FX_PI / 2; in XFA_BOX_GetPath()1204 sx = bInverted ? FX_PI / 2 : FX_PI; in XFA_BOX_GetPath()1223 sx = bInverted ? FX_PI : FX_PI * 3 / 2; in XFA_BOX_GetPath()1242 sx = bInverted ? FX_PI * 3 / 2 : 0; in XFA_BOX_GetPath()1261 sx = bInverted ? 0 : FX_PI / 2; in XFA_BOX_GetPath()1277 sx -= FX_PI; in XFA_BOX_GetPath()1372 sy = FX_PI / 2; in XFA_BOX_GetFillPath()1381 sx = bInverted ? FX_PI / 2 : FX_PI; in XFA_BOX_GetFillPath()[all …]
12 #define FX_RAD2DEG(r) ((r)*180.0f / FX_PI)13 #define FX_DEG2RAD(a) ((a)*FX_PI / 180.0f)
57 bool ccw = da > 0 && da < FX_PI; in stroke_calc_arc()65 a2 += 2 * FX_PI; in stroke_calc_arc()76 a2 -= 2 * FX_PI; in stroke_calc_arc()170 FX_FLOAT a2 = a1 + FX_PI; in stroke_calc_cap()
330 (pRtSign->top - fBottom) / (1 + (FX_FLOAT)cos(FX_PI / 5.0f)); in DrawSignStar()335 FX_FLOAT fAngel = FX_PI / 10.0f; in DrawSignStar()339 fAngel += FX_PI * 2 / 5.0f; in DrawSignStar()
114 #define FX_PI 3.1415926535897932384626433832795f macro
632 Rotate = (int)(a * 180 / FX_PI + 0.5); in GetBaselineRotate()