Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions
agg::vertex_block_storage< T, BlockShift, BlockPool > Class Template Reference

#include <agg_path_storage.h>

List of all members.

Public Types

enum  block_scale_e { block_shift = BlockShift, block_size = 1 << block_shift, block_mask = block_size - 1, block_pool = BlockPool }
typedef T value_type
typedef vertex_block_storage
< T, BlockShift, BlockPool > 
self_type

Public Member Functions

 ~vertex_block_storage ()
 vertex_block_storage ()
 vertex_block_storage (const self_type &v)
const self_typeoperator= (const self_type &ps)
void remove_all ()
void free_all ()
void add_vertex (double x, double y, unsigned cmd)
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 swap_vertices (unsigned v1, unsigned v2)
unsigned last_command () 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 total_vertices () const
unsigned vertex (unsigned idx, double *x, double *y) const
unsigned command (unsigned idx) const

template<class T, unsigned BlockShift = 8, unsigned BlockPool = 256>
class agg::vertex_block_storage< T, BlockShift, BlockPool >


Member Typedef Documentation

template<class T, unsigned BlockShift = 8, unsigned BlockPool = 256>
typedef vertex_block_storage<T, BlockShift, BlockPool> agg::vertex_block_storage< T, BlockShift, BlockPool >::self_type
template<class T, unsigned BlockShift = 8, unsigned BlockPool = 256>
typedef T agg::vertex_block_storage< T, BlockShift, BlockPool >::value_type

Member Enumeration Documentation

template<class T, unsigned BlockShift = 8, unsigned BlockPool = 256>
enum agg::vertex_block_storage::block_scale_e
Enumerator:
block_shift 
block_size 
block_mask 
block_pool 

Constructor & Destructor Documentation

template<class T , unsigned S, unsigned P>
agg::vertex_block_storage< T, S, P >::~vertex_block_storage ( )
template<class T , unsigned S, unsigned P>
agg::vertex_block_storage< T, S, P >::vertex_block_storage ( )
template<class T, unsigned BlockShift = 8, unsigned BlockPool = 256>
agg::vertex_block_storage< T, BlockShift, BlockPool >::vertex_block_storage ( const self_type v)

Member Function Documentation

template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::add_vertex ( double  x,
double  y,
unsigned  cmd 
) [inline]
template<class T , unsigned S, unsigned P>
unsigned agg::vertex_block_storage< T, S, P >::command ( unsigned  idx) const [inline]
template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::free_all ( )
template<class T , unsigned S, unsigned P>
unsigned agg::vertex_block_storage< T, S, P >::last_command ( ) const [inline]
template<class T , unsigned S, unsigned P>
unsigned agg::vertex_block_storage< T, S, P >::last_vertex ( double *  x,
double *  y 
) const [inline]
template<class T , unsigned S, unsigned P>
double agg::vertex_block_storage< T, S, P >::last_x ( ) const [inline]
template<class T , unsigned S, unsigned P>
double agg::vertex_block_storage< T, S, P >::last_y ( ) const [inline]
template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::modify_command ( unsigned  idx,
unsigned  cmd 
) [inline]
template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::modify_vertex ( unsigned  idx,
double  x,
double  y 
) [inline]
template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::modify_vertex ( unsigned  idx,
double  x,
double  y,
unsigned  cmd 
) [inline]
template<class T, unsigned BlockShift = 8, unsigned BlockPool = 256>
const self_type& agg::vertex_block_storage< T, BlockShift, BlockPool >::operator= ( const self_type ps)
template<class T , unsigned S, unsigned P>
unsigned agg::vertex_block_storage< T, S, P >::prev_vertex ( double *  x,
double *  y 
) const [inline]
template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::remove_all ( ) [inline]
template<class T , unsigned S, unsigned P>
void agg::vertex_block_storage< T, S, P >::swap_vertices ( unsigned  v1,
unsigned  v2 
) [inline]
template<class T , unsigned S, unsigned P>
unsigned agg::vertex_block_storage< T, S, P >::total_vertices ( ) const [inline]
template<class T , unsigned S, unsigned P>
unsigned agg::vertex_block_storage< T, S, P >::vertex ( unsigned  idx,
double *  x,
double *  y 
) const [inline]

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