Anti-Grain Geometry Tutorial
agg::rasterizer_scanline_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

 rasterizer_scanline_aa (unsigned cell_block_limit=1024)
 
template<class GammaF >
 rasterizer_scanline_aa (const GammaF &gamma_function, unsigned cell_block_limit)
 
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 auto_close (bool flag)
 
template<class GammaF >
void gamma (const GammaF &gamma_function)
 
unsigned apply_gamma (unsigned cover) const
 
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 close_polygon ()
 
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
 
void sort ()
 
bool rewind_scanlines ()
 
bool navigate_scanline (int y)
 
AGG_INLINE unsigned calculate_alpha (int area) const
 
template<class Scanline >
bool sweep_scanline (Scanline &sl)
 
bool hit_test (int tx, int ty)
 

Detailed Description

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

Definition at line 71 of file agg_rasterizer_scanline_aa.h.


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