Anti-Grain Geometry Tutorial
agg::rasterizer_compound_aa< Clip > Class Template Reference

Public Types

enum  aa_scale_e {
  aa_shift = 8, aa_scale = 1 << aa_shift, aa_mask = aa_scale - 1, aa_scale2 = aa_scale * 2,
  aa_mask2 = aa_scale2 - 1
}
 
typedef Clip clip_type
 
typedef Clip::conv_type conv_type
 
typedef Clip::coord_type coord_type
 

Public Member Functions

void reset ()
 
void reset_clipping ()
 
void clip_box (double x1, double y1, double x2, double y2)
 
void filling_rule (filling_rule_e filling_rule)
 
void layer_order (layer_order_e order)
 
void styles (int left, int right)
 
void move_to (int x, int y)
 
void line_to (int x, int y)
 
void move_to_d (double x, double y)
 
void line_to_d (double x, double y)
 
void add_vertex (double x, double y, unsigned cmd)
 
void edge (int x1, int y1, int x2, int y2)
 
void edge_d (double x1, double y1, double x2, double y2)
 
template<class VertexSource >
void add_path (VertexSource &vs, unsigned path_id=0)
 
int min_x () const
 
int min_y () const
 
int max_x () const
 
int max_y () const
 
int min_style () const
 
int max_style () const
 
void sort ()
 
bool rewind_scanlines ()
 
unsigned sweep_styles ()
 
int scanline_start () const
 
unsigned scanline_length () const
 
unsigned style (unsigned style_idx) const
 
cover_type * allocate_cover_buffer (unsigned len)
 
bool navigate_scanline (int y)
 
bool hit_test (int tx, int ty)
 
AGG_INLINE unsigned calculate_alpha (int area) const
 
template<class Scanline >
bool sweep_scanline (Scanline &sl, int style_idx)
 

Detailed Description

template<class Clip = rasterizer_sl_clip_int>
class agg::rasterizer_compound_aa< Clip >

Definition at line 85 of file agg_rasterizer_compound_aa.h.


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