Home
last modified time | relevance | path

Searched refs:sweep_angle (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/xfa/fxgraphics/
Dcfx_path.cpp43 FX_FLOAT sweep_angle) { in ArcTo() argument
46 new_size, start_angle, sweep_angle); in ArcTo()
52 FX_FLOAT sweep_angle) { in ArcToInternal() argument
53 FX_FLOAT x0 = FXSYS_cos(sweep_angle / 2); in ArcToInternal()
54 FX_FLOAT y0 = FXSYS_sin(sweep_angle / 2); in ArcToInternal()
59 FX_FLOAT sn = FXSYS_sin(start_angle + sweep_angle / 2); in ArcToInternal()
60 FX_FLOAT cs = FXSYS_cos(start_angle + sweep_angle / 2); in ArcToInternal()
71 bezier.x = pos.x + (size.width * FXSYS_cos(start_angle + sweep_angle)); in ArcToInternal()
72 bezier.y = pos.y + (size.height * FXSYS_sin(start_angle + sweep_angle)); in ArcToInternal()
95 FX_FLOAT sweep_angle) { in AddArc() argument
[all …]
Dcfx_path.h53 FX_FLOAT sweep_angle);