Home
last modified time | relevance | path

Searched refs:FX_PI (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/xfa/fxgraphics/
Dcfx_path.cpp89 AddArc(rect.TopLeft(), rect.Size(), 0, FX_PI * 2); in AddEllipse()
100 while (start_angle > FX_PI * 2) in AddArc()
101 start_angle -= FX_PI * 2; in AddArc()
103 start_angle += FX_PI * 2; in AddArc()
104 if (sweep_angle >= FX_PI * 2) in AddArc()
105 sweep_angle = FX_PI * 2; in AddArc()
106 if (sweep_angle <= -FX_PI * 2) in AddArc()
107 sweep_angle = -FX_PI * 2; in AddArc()
122 local_sweep = -FX_PI / 2; in AddArc()
123 total_sweep -= FX_PI / 2; in AddArc()
[all …]
/external/pdfium/third_party/agg23/
D0000-bug-466.patch11 - a2 += 2 * FX_PI;
15 + a2 += 2 * FX_PI;
28 - a2 -= 2 * FX_PI;
31 + a2 -= 2 * FX_PI;
Dagg_math_stroke.h57 bool ccw = da > 0 && da < FX_PI; in stroke_calc_arc()
66 a2 += 2 * FX_PI; in stroke_calc_arc()
77 a2 -= 2 * FX_PI; in stroke_calc_arc()
172 FX_FLOAT a2 = a1 + FX_PI; in stroke_calc_cap()
/external/pdfium/xfa/fde/
Dcfde_path.cpp49 if (FXSYS_fabs(beta - alpha) > FX_PI) { in ArcTo()
51 beta -= 2 * FX_PI; in ArcTo()
53 alpha -= 2 * FX_PI; in ArcTo()
148 FX_FLOAT fEndAngle = FX_PI / 2; in AddEllipse()
151 fStartAngle += FX_PI / 2; in AddEllipse()
152 fEndAngle += FX_PI / 2; in AddEllipse()
/external/pdfium/xfa/fxfa/app/
Dxfa_ffwidget.cpp1212 startAngle = -startAngle * FX_PI / 180.0f; in XFA_BOX_GetPath_Arc()
1213 sweepAngle = -sweepAngle * FX_PI / 180.0f; in XFA_BOX_GetPath_Arc()
1268 sy = FX_PI / 2; in XFA_BOX_GetPath()
1285 sx = bInverted ? FX_PI / 2 : FX_PI; in XFA_BOX_GetPath()
1304 sx = bInverted ? FX_PI : FX_PI * 3 / 2; in XFA_BOX_GetPath()
1323 sx = bInverted ? FX_PI * 3 / 2 : 0; in XFA_BOX_GetPath()
1344 sx = bInverted ? 0 : FX_PI / 2; in XFA_BOX_GetPath()
1361 sx -= FX_PI; in XFA_BOX_GetPath()
1459 sy = FX_PI / 2; in XFA_BOX_GetFillPath()
1468 sx = bInverted ? FX_PI / 2 : FX_PI; in XFA_BOX_GetFillPath()
[all …]
/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp151 (pRtSign->top - fBottom) / (1 + static_cast<FX_FLOAT>(cos(FX_PI / 5.0f))); in DrawSignStar()
156 FX_FLOAT fAngel = FX_PI / 10.0f; in DrawSignStar()
161 fAngel += FX_PI * 2 / 5.0f; in DrawSignStar()
/external/pdfium/fpdfsdk/pdfwindow/
DPWL_Utils.cpp191 (crBBox.top - crBBox.bottom) / (1 + (FX_FLOAT)cos(FX_PI / 5.0f)); in GetAP_Star()
197 FX_FLOAT fAngel = FX_PI / 10.0f; in GetAP_Star()
203 fAngel += FX_PI * 2 / 5.0f; in GetAP_Star()
754 FX_PI / 4.0f) in GetCircleBorderAppStream()
763 FX_PI * 5 / 4.0f) in GetCircleBorderAppStream()
781 FX_PI / 4.0f) in GetCircleBorderAppStream()
790 FX_PI * 5 / 4.0f) in GetCircleBorderAppStream()
/external/pdfium/core/fpdfapi/page/
Dfpdf_page_func.cpp328 Push((FX_FLOAT)FXSYS_sin(d1 * FX_PI / 180.0f)); in DoOperator()
332 Push((FX_FLOAT)FXSYS_cos(d1 * FX_PI / 180.0f)); in DoOperator()
337 d1 = (FX_FLOAT)(FXSYS_atan2(d1, d2) * 180.0 / FX_PI); in DoOperator()
/external/pdfium/core/fxcrt/
Dfx_system.h101 #define FX_PI 3.1415926535897932384626433832795f macro