Searched refs:sweep_angle (Results 1 – 2 of 2) sorted by relevance
39 double start_angle, double sweep_angle, in arc_to_bezier() argument42 double x0 = cos(sweep_angle / 2.0); in arc_to_bezier()43 double y0 = sin(sweep_angle / 2.0); in arc_to_bezier()57 double sn = sin(start_angle + sweep_angle / 2.0); in arc_to_bezier()58 double cs = cos(start_angle + sweep_angle / 2.0); in arc_to_bezier()74 double sweep_angle) in init() argument77 if(sweep_angle >= 2.0 * pi) sweep_angle = 2.0 * pi; in init()78 if(sweep_angle <= -2.0 * pi) sweep_angle = -2.0 * pi; in init()80 if(fabs(sweep_angle) < 1e-10) in init()86 m_vertices[2] = x + rx * cos(start_angle + sweep_angle); in init()[all …]
31 double start_angle, double sweep_angle,47 double sweep_angle) in bezier_arc() argument49 init(x, y, rx, ry, start_angle, sweep_angle); in bezier_arc()56 double sweep_angle);