16 #ifndef AGG_TRANS_SINGLE_PATH_INCLUDED 17 #define AGG_TRANS_SINGLE_PATH_INCLUDED 19 #include "agg_basics.h" 20 #include "agg_vertex_sequence.h" 43 void base_length(
double v) { m_base_length = v; }
44 double base_length()
const {
return m_base_length; }
47 void preserve_x_scale(
bool f) { m_preserve_x_scale = f; }
48 bool preserve_x_scale()
const {
return m_preserve_x_scale; }
52 void move_to(
double x,
double y);
53 void line_to(
double x,
double y);
57 template<
class VertexSource>
58 void add_path(VertexSource& vs,
unsigned path_id=0)
65 while(!is_stop(cmd = vs.vertex(&x, &y)))
83 double total_length()
const;
84 void transform(
double *x,
double *y)
const;
87 vertex_storage m_src_vertices;
91 bool m_preserve_x_scale;