Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions
agg::path_base< VertexContainer > Class Template Reference

#include <agg_path_storage.h>

List of all members.

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_typevertices () const
container_typevertices ()
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)

template<class VertexContainer>
class agg::path_base< VertexContainer >


Member Typedef Documentation

template<class VertexContainer >
typedef VertexContainer agg::path_base< VertexContainer >::container_type
template<class VertexContainer >
typedef path_base<VertexContainer> agg::path_base< VertexContainer >::self_type

Constructor & Destructor Documentation

template<class VertexContainer >
agg::path_base< VertexContainer >::path_base ( ) [inline]

Member Function Documentation

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines