Lines Matching refs:sweep_angle
43 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
96 if (sweep_angle == 0) 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()
120 if (sweep_angle < 0) { in AddArc()
124 if (total_sweep <= sweep_angle + bezier_arc_angle_epsilon) { in AddArc()
125 local_sweep = sweep_angle - prev_sweep; in AddArc()
132 if (total_sweep >= sweep_angle - bezier_arc_angle_epsilon) { in AddArc()
133 local_sweep = sweep_angle - prev_sweep; in AddArc()