Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxgraphics/
Dcxfa_gepath.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/xfa/fxfa/parser/
Dcxfa_box.cpp267 -startAngle.value_or(0) * FX_PI / 180.0f, in GetPathArcOrRounded()
268 -sweepAngle.value_or(360) * FX_PI / 180.0f); in GetPathArcOrRounded()
328 startAngle = startAngle * FX_PI / 180.0f; in StrokeArcOrRounded()
329 sweepAngle = -sweepAngle * FX_PI / 180.0f; in StrokeArcOrRounded()
332 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), 3.0f * FX_PI / 4.0f, in StrokeArcOrRounded()
333 FX_PI); in StrokeArcOrRounded()
338 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), -1.0f * FX_PI / 4.0f, in StrokeArcOrRounded()
339 FX_PI); in StrokeArcOrRounded()
345 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), 3.0f * FX_PI / 4.0f, in StrokeArcOrRounded()
346 FX_PI); in StrokeArcOrRounded()
[all …]
Dcxfa_rectangle.cpp120 sy = FX_PI / 2; in GetFillPath()
129 sx = bInverted ? FX_PI / 2 : FX_PI; in GetFillPath()
140 sx = bInverted ? FX_PI : FX_PI * 3 / 2; in GetFillPath()
151 sx = bInverted ? FX_PI * 3 / 2 : 0; in GetFillPath()
162 sx = bInverted ? 0 : FX_PI / 2; in GetFillPath()
174 sx -= FX_PI; in GetFillPath()
493 sy = FX_PI / 2; in GetPath()
510 sx = bInverted ? FX_PI / 2 : FX_PI; in GetPath()
529 sx = bInverted ? FX_PI : FX_PI * 3 / 2; in GetPath()
548 sx = bInverted ? FX_PI * 3 / 2 : 0; in GetPath()
[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 float a2 = a1 + FX_PI; in stroke_calc_cap()
/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine.cpp278 Push(sin(d1 * FX_PI / 180.0f)); in DoOperator()
282 Push(cos(d1 * FX_PI / 180.0f)); in DoOperator()
287 d1 = atan2(d1, d2) * 180.0 / FX_PI; in DoOperator()
/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp152 (pRtSign->top - fBottom) / (1 + static_cast<float>(cos(FX_PI / 5.0f))); in DrawSignStar()
157 float fAngel = FX_PI / 10.0f; in DrawSignStar()
162 fAngel += FX_PI * 2 / 5.0f; in DrawSignStar()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_appstream.cpp272 float fRadius = (crBBox.top - crBBox.bottom) / (1 + (float)cos(FX_PI / 5.0f)); in GetAP_Star()
278 float fAngel = FX_PI / 10.0f; in GetAP_Star()
282 fAngel += FX_PI * 2 / 5.0f; in GetAP_Star()
466 << sColor << GetAP_HalfCircle(rect_by_75, FX_PI / 4.0f) in GetCircleBorderAppStream()
474 << sColor << GetAP_HalfCircle(rect_by_75, FX_PI * 5 / 4.0f) in GetCircleBorderAppStream()
491 << sColor << GetAP_HalfCircle(rect_by_75, FX_PI / 4.0f) in GetCircleBorderAppStream()
499 << sColor << GetAP_HalfCircle(rect_by_75, FX_PI * 5 / 4.0f) in GetCircleBorderAppStream()
/external/pdfium/core/fxcrt/
Dfx_system.h112 #define FX_PI 3.1415926535897932384626433832795f macro