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

#include <agg_rasterizer_compound_aa.h>

List of all members.

Classes

struct  cell_info
struct  style_info

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_compound_aa ()
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 master_alpha (int style, double alpha)
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_typeallocate_cover_buffer (unsigned len)
bool navigate_scanline (int y)
bool hit_test (int tx, int ty)
AGG_INLINE unsigned calculate_alpha (int area, unsigned master_alpha) const
template<class Scanline >
bool sweep_scanline (Scanline &sl, int style_idx)

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


Member Typedef Documentation

template<class Clip = rasterizer_sl_clip_int>
typedef Clip agg::rasterizer_compound_aa< Clip >::clip_type
template<class Clip = rasterizer_sl_clip_int>
typedef Clip::conv_type agg::rasterizer_compound_aa< Clip >::conv_type
template<class Clip = rasterizer_sl_clip_int>
typedef Clip::coord_type agg::rasterizer_compound_aa< Clip >::coord_type

Member Enumeration Documentation

template<class Clip = rasterizer_sl_clip_int>
enum agg::rasterizer_compound_aa::aa_scale_e
Enumerator:
aa_shift 
aa_scale 
aa_mask 
aa_scale2 
aa_mask2 

Constructor & Destructor Documentation

template<class Clip = rasterizer_sl_clip_int>
agg::rasterizer_compound_aa< Clip >::rasterizer_compound_aa ( ) [inline]

Member Function Documentation

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

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