Anti-Grain Geometry Tutorial
agg::vertex_block_storage< T, BlockShift, BlockPool > Class Template Reference

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 (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
 

Detailed Description

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

Definition at line 30 of file agg_path_storage.h.


The documentation for this class was generated from the following file: