Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxgraphics/src/
Dfx_path_generator.cpp111 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 …]
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_geobject.cpp84 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()
Dfde_gedevice.cpp545 FX_FLOAT fTotalY = fLength / FXSYS_cos(FX_PI / 2 - fTheta); in FillLinearGradientPath()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidget.cpp1135 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 …]
/external/pdfium/xfa/src/fgas/include/
Dfx_sys.h12 #define FX_RAD2DEG(r) ((r)*180.0f / FX_PI)
13 #define FX_DEG2RAD(a) ((a)*FX_PI / 180.0f)
/external/pdfium/third_party/agg23/
Dagg_math_stroke.h57 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()
/external/pdfium/xfa/src/fwl/src/theme/
Dcheckboxtp.cpp330 (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()
/external/pdfium/core/include/fxcrt/
Dfx_system.h114 #define FX_PI 3.1415926535897932384626433832795f macro
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp632 Rotate = (int)(a * 180 / FX_PI + 0.5); in GetBaselineRotate()