Anti-Grain Geometry - AGG (libagg)
2.5
|
#include <agg_path_storage.h>
Public Types | |
typedef VertexContainer | container_type |
typedef path_base < VertexContainer > | self_type |
Public Member Functions | |
path_base () | |
void | remove_all () |
void | free_all () |
unsigned | start_new_path () |
void | move_to (double x, double y) |
void | move_rel (double dx, double dy) |
void | line_to (double x, double y) |
void | line_rel (double dx, double dy) |
void | hline_to (double x) |
void | hline_rel (double dx) |
void | vline_to (double y) |
void | vline_rel (double dy) |
void | arc_to (double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x, double y) |
void | arc_rel (double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double dx, double dy) |
void | curve3 (double x_ctrl, double y_ctrl, double x_to, double y_to) |
void | curve3_rel (double dx_ctrl, double dy_ctrl, double dx_to, double dy_to) |
void | curve3 (double x_to, double y_to) |
void | curve3_rel (double dx_to, double dy_to) |
void | curve4 (double x_ctrl1, double y_ctrl1, double x_ctrl2, double y_ctrl2, double x_to, double y_to) |
void | curve4_rel (double dx_ctrl1, double dy_ctrl1, double dx_ctrl2, double dy_ctrl2, double dx_to, double dy_to) |
void | curve4 (double x_ctrl2, double y_ctrl2, double x_to, double y_to) |
void | curve4_rel (double x_ctrl2, double y_ctrl2, double x_to, double y_to) |
void | end_poly (unsigned flags=path_flags_close) |
void | close_polygon (unsigned flags=path_flags_none) |
const container_type & | vertices () const |
container_type & | vertices () |
unsigned | total_vertices () const |
void | rel_to_abs (double *x, double *y) const |
unsigned | last_vertex (double *x, double *y) const |
unsigned | prev_vertex (double *x, double *y) const |
double | last_x () const |
double | last_y () const |
unsigned | vertex (unsigned idx, double *x, double *y) const |
unsigned | command (unsigned idx) const |
void | modify_vertex (unsigned idx, double x, double y) |
void | modify_vertex (unsigned idx, double x, double y, unsigned cmd) |
void | modify_command (unsigned idx, unsigned cmd) |
void | rewind (unsigned path_id) |
unsigned | vertex (double *x, double *y) |
unsigned | arrange_polygon_orientation (unsigned start, path_flags_e orientation) |
unsigned | arrange_orientations (unsigned path_id, path_flags_e orientation) |
void | arrange_orientations_all_paths (path_flags_e orientation) |
void | invert_polygon (unsigned start) |
void | flip_x (double x1, double x2) |
void | flip_y (double y1, double y2) |
template<class VertexSource > | |
void | concat_path (VertexSource &vs, unsigned path_id=0) |
template<class VertexSource > | |
void | join_path (VertexSource &vs, unsigned path_id=0) |
template<class T > | |
void | concat_poly (const T *data, unsigned num_points, bool closed) |
template<class T > | |
void | join_poly (const T *data, unsigned num_points, bool closed) |
void | translate (double dx, double dy, unsigned path_id=0) |
void | translate_all_paths (double dx, double dy) |
template<class Trans > | |
void | transform (const Trans &trans, unsigned path_id=0) |
template<class Trans > | |
void | transform_all_paths (const Trans &trans) |
typedef VertexContainer agg::path_base< VertexContainer >::container_type |
typedef path_base<VertexContainer> agg::path_base< VertexContainer >::self_type |
agg::path_base< VertexContainer >::path_base | ( | ) | [inline] |
void agg::path_base< VC >::arc_rel | ( | double | rx, |
double | ry, | ||
double | angle, | ||
bool | large_arc_flag, | ||
bool | sweep_flag, | ||
double | dx, | ||
double | dy | ||
) |
void agg::path_base< VC >::arc_to | ( | double | rx, |
double | ry, | ||
double | angle, | ||
bool | large_arc_flag, | ||
bool | sweep_flag, | ||
double | x, | ||
double | y | ||
) |
unsigned agg::path_base< VC >::arrange_orientations | ( | unsigned | path_id, |
path_flags_e | orientation | ||
) |
void agg::path_base< VC >::arrange_orientations_all_paths | ( | path_flags_e | orientation | ) |
unsigned agg::path_base< VC >::arrange_polygon_orientation | ( | unsigned | start, |
path_flags_e | orientation | ||
) |
void agg::path_base< VC >::close_polygon | ( | unsigned | flags = path_flags_none | ) | [inline] |
unsigned agg::path_base< VC >::command | ( | unsigned | idx | ) | const [inline] |
void agg::path_base< VertexContainer >::concat_path | ( | VertexSource & | vs, |
unsigned | path_id = 0 |
||
) | [inline] |
void agg::path_base< VertexContainer >::concat_poly | ( | const T * | data, |
unsigned | num_points, | ||
bool | closed | ||
) | [inline] |
void agg::path_base< VC >::curve3 | ( | double | x_ctrl, |
double | y_ctrl, | ||
double | x_to, | ||
double | y_to | ||
) |
void agg::path_base< VC >::curve3 | ( | double | x_to, |
double | y_to | ||
) |
void agg::path_base< VC >::curve3_rel | ( | double | dx_ctrl, |
double | dy_ctrl, | ||
double | dx_to, | ||
double | dy_to | ||
) |
void agg::path_base< VC >::curve3_rel | ( | double | dx_to, |
double | dy_to | ||
) |
void agg::path_base< VC >::curve4 | ( | double | x_ctrl1, |
double | y_ctrl1, | ||
double | x_ctrl2, | ||
double | y_ctrl2, | ||
double | x_to, | ||
double | y_to | ||
) |
void agg::path_base< VC >::curve4 | ( | double | x_ctrl2, |
double | y_ctrl2, | ||
double | x_to, | ||
double | y_to | ||
) |
void agg::path_base< VC >::curve4_rel | ( | double | dx_ctrl1, |
double | dy_ctrl1, | ||
double | dx_ctrl2, | ||
double | dy_ctrl2, | ||
double | dx_to, | ||
double | dy_to | ||
) |
void agg::path_base< VC >::curve4_rel | ( | double | x_ctrl2, |
double | y_ctrl2, | ||
double | x_to, | ||
double | y_to | ||
) |
void agg::path_base< VC >::end_poly | ( | unsigned | flags = path_flags_close | ) | [inline] |
void agg::path_base< VC >::flip_x | ( | double | x1, |
double | x2 | ||
) |
void agg::path_base< VC >::flip_y | ( | double | y1, |
double | y2 | ||
) |
void agg::path_base< VertexContainer >::free_all | ( | ) | [inline] |
void agg::path_base< VC >::hline_rel | ( | double | dx | ) | [inline] |
void agg::path_base< VC >::hline_to | ( | double | x | ) | [inline] |
void agg::path_base< VC >::invert_polygon | ( | unsigned | start | ) |
void agg::path_base< VertexContainer >::join_path | ( | VertexSource & | vs, |
unsigned | path_id = 0 |
||
) | [inline] |
void agg::path_base< VertexContainer >::join_poly | ( | const T * | data, |
unsigned | num_points, | ||
bool | closed | ||
) | [inline] |
unsigned agg::path_base< VC >::last_vertex | ( | double * | x, |
double * | y | ||
) | const [inline] |
double agg::path_base< VC >::last_x | ( | ) | const [inline] |
double agg::path_base< VC >::last_y | ( | ) | const [inline] |
void agg::path_base< VC >::line_rel | ( | double | dx, |
double | dy | ||
) | [inline] |
void agg::path_base< VC >::line_to | ( | double | x, |
double | y | ||
) | [inline] |
void agg::path_base< VC >::modify_command | ( | unsigned | idx, |
unsigned | cmd | ||
) |
void agg::path_base< VC >::modify_vertex | ( | unsigned | idx, |
double | x, | ||
double | y | ||
) |
void agg::path_base< VC >::modify_vertex | ( | unsigned | idx, |
double | x, | ||
double | y, | ||
unsigned | cmd | ||
) |
void agg::path_base< VC >::move_rel | ( | double | dx, |
double | dy | ||
) | [inline] |
void agg::path_base< VC >::move_to | ( | double | x, |
double | y | ||
) | [inline] |
unsigned agg::path_base< VC >::prev_vertex | ( | double * | x, |
double * | y | ||
) | const [inline] |
void agg::path_base< VC >::rel_to_abs | ( | double * | x, |
double * | y | ||
) | const [inline] |
void agg::path_base< VertexContainer >::remove_all | ( | ) | [inline] |
void agg::path_base< VC >::rewind | ( | unsigned | path_id | ) | [inline] |
unsigned agg::path_base< VC >::start_new_path | ( | ) |
unsigned agg::path_base< VC >::total_vertices | ( | ) | const [inline] |
void agg::path_base< VertexContainer >::transform | ( | const Trans & | trans, |
unsigned | path_id = 0 |
||
) | [inline] |
void agg::path_base< VertexContainer >::transform_all_paths | ( | const Trans & | trans | ) | [inline] |
void agg::path_base< VC >::translate | ( | double | dx, |
double | dy, | ||
unsigned | path_id = 0 |
||
) |
void agg::path_base< VC >::translate_all_paths | ( | double | dx, |
double | dy | ||
) |
unsigned agg::path_base< VC >::vertex | ( | unsigned | idx, |
double * | x, | ||
double * | y | ||
) | const [inline] |
unsigned agg::path_base< VC >::vertex | ( | double * | x, |
double * | y | ||
) | [inline] |
const container_type& agg::path_base< VertexContainer >::vertices | ( | ) | const [inline] |
container_type& agg::path_base< VertexContainer >::vertices | ( | ) | [inline] |
void agg::path_base< VC >::vline_rel | ( | double | dy | ) | [inline] |
void agg::path_base< VC >::vline_to | ( | double | y | ) | [inline] |