Home
last modified time | relevance | path

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

/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp39 double start_angle, double sweep_angle, in arc_to_bezier() argument
42 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() argument
77 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 …]
/haiku/headers/libs/agg/
H A Dagg_bezier_arc.h31 double start_angle, double sweep_angle,
47 double sweep_angle) in bezier_arc() argument
49 init(x, y, rx, ry, start_angle, sweep_angle); in bezier_arc()
56 double sweep_angle);