Home
last modified time | relevance | path

Searched refs:m_arc (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/libs/agg/
H A Dagg_bezier_arc.h105 bezier_arc_svg() : m_arc(), m_radii_ok(false) {} in bezier_arc_svg()
113 m_arc(), m_radii_ok(false) in bezier_arc_svg()
132 m_arc.rewind(0); in rewind()
138 return m_arc.vertex(x, y); in vertex()
144 unsigned num_vertices() const { return m_arc.num_vertices(); } in num_vertices()
145 const double* vertices() const { return m_arc.vertices(); } in vertices()
146 double* vertices() { return m_arc.vertices(); } in vertices()
149 bezier_arc m_arc;
H A Dagg_rounded_rect.h46 void approximation_scale(double s) { m_arc.approximation_scale(s); } in approximation_scale()
47 double approximation_scale() const { return m_arc.approximation_scale(); } in approximation_scale()
66 arc m_arc; variable
/haiku/src/libs/agg/src/
H A Dagg_rounded_rect.cpp111 m_arc.init(m_x1 + m_rx1, m_y1 + m_ry1, m_rx1, m_ry1, in vertex()
113 m_arc.rewind(0); in vertex()
117 cmd = m_arc.vertex(x, y); in vertex()
122 m_arc.init(m_x2 - m_rx2, m_y1 + m_ry2, m_rx2, m_ry2, in vertex()
124 m_arc.rewind(0); in vertex()
128 cmd = m_arc.vertex(x, y); in vertex()
133 m_arc.init(m_x2 - m_rx3, m_y2 - m_ry3, m_rx3, m_ry3, in vertex()
135 m_arc.rewind(0); in vertex()
139 cmd = m_arc.vertex(x, y); in vertex()
144 m_arc.init(m_x1 + m_rx4, m_y2 - m_ry4, m_rx4, m_ry4, in vertex()
[all …]
H A Dagg_bezier_arc.cpp237 m_arc.init(0.0, 0.0, rx, ry, start_angle, sweep_angle); in init()
241 for(unsigned i = 2; i < m_arc.num_vertices()-2; i += 2) in init()
243 mtx.transform(m_arc.vertices() + i, m_arc.vertices() + i + 1); in init()
248 m_arc.vertices()[0] = x0; in init()
249 m_arc.vertices()[1] = y0; in init()
250 if(m_arc.num_vertices() > 2) in init()
252 m_arc.vertices()[m_arc.num_vertices() - 2] = x2; in init()
253 m_arc.vertices()[m_arc.num_vertices() - 1] = y2; in init()