Anti-Grain Geometry - AGG (libagg)
2.5
|
#include <agg_rasterizer_compound_aa.h>
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_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, unsigned master_alpha) const |
template<class Scanline > | |
bool | sweep_scanline (Scanline &sl, int style_idx) |
typedef Clip agg::rasterizer_compound_aa< Clip >::clip_type |
typedef Clip::conv_type agg::rasterizer_compound_aa< Clip >::conv_type |
typedef Clip::coord_type agg::rasterizer_compound_aa< Clip >::coord_type |
enum agg::rasterizer_compound_aa::aa_scale_e |
agg::rasterizer_compound_aa< Clip >::rasterizer_compound_aa | ( | ) | [inline] |
void agg::rasterizer_compound_aa< Clip >::add_path | ( | VertexSource & | vs, |
unsigned | path_id = 0 |
||
) | [inline] |
void agg::rasterizer_compound_aa< Clip >::add_vertex | ( | double | x, |
double | y, | ||
unsigned | cmd | ||
) |
cover_type * agg::rasterizer_compound_aa< Clip >::allocate_cover_buffer | ( | unsigned | len | ) |
AGG_INLINE unsigned agg::rasterizer_compound_aa< Clip >::calculate_alpha | ( | int | area, |
unsigned | master_alpha | ||
) | const [inline] |
void agg::rasterizer_compound_aa< Clip >::clip_box | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
void agg::rasterizer_compound_aa< Clip >::edge | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
void agg::rasterizer_compound_aa< Clip >::edge_d | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
void agg::rasterizer_compound_aa< Clip >::filling_rule | ( | filling_rule_e | filling_rule | ) |
bool agg::rasterizer_compound_aa< Clip >::hit_test | ( | int | tx, |
int | ty | ||
) |
void agg::rasterizer_compound_aa< Clip >::layer_order | ( | layer_order_e | order | ) |
void agg::rasterizer_compound_aa< Clip >::line_to | ( | int | x, |
int | y | ||
) |
void agg::rasterizer_compound_aa< Clip >::line_to_d | ( | double | x, |
double | y | ||
) |
void agg::rasterizer_compound_aa< Clip >::master_alpha | ( | int | style, |
double | alpha | ||
) |
int agg::rasterizer_compound_aa< Clip >::max_style | ( | ) | const [inline] |
int agg::rasterizer_compound_aa< Clip >::max_x | ( | ) | const [inline] |
int agg::rasterizer_compound_aa< Clip >::max_y | ( | ) | const [inline] |
int agg::rasterizer_compound_aa< Clip >::min_style | ( | ) | const [inline] |
int agg::rasterizer_compound_aa< Clip >::min_x | ( | ) | const [inline] |
int agg::rasterizer_compound_aa< Clip >::min_y | ( | ) | const [inline] |
void agg::rasterizer_compound_aa< Clip >::move_to | ( | int | x, |
int | y | ||
) |
void agg::rasterizer_compound_aa< Clip >::move_to_d | ( | double | x, |
double | y | ||
) |
AGG_INLINE bool agg::rasterizer_compound_aa< Clip >::navigate_scanline | ( | int | y | ) |
void agg::rasterizer_compound_aa< Clip >::reset | ( | ) |
void agg::rasterizer_compound_aa< Clip >::reset_clipping | ( | ) |
AGG_INLINE bool agg::rasterizer_compound_aa< Clip >::rewind_scanlines | ( | ) |
unsigned agg::rasterizer_compound_aa< Clip >::scanline_length | ( | ) | const [inline] |
int agg::rasterizer_compound_aa< Clip >::scanline_start | ( | ) | const [inline] |
AGG_INLINE void agg::rasterizer_compound_aa< Clip >::sort | ( | ) |
AGG_INLINE unsigned agg::rasterizer_compound_aa< Clip >::style | ( | unsigned | style_idx | ) | const |
void agg::rasterizer_compound_aa< Clip >::styles | ( | int | left, |
int | right | ||
) |
bool agg::rasterizer_compound_aa< Clip >::sweep_scanline | ( | Scanline & | sl, |
int | style_idx | ||
) | [inline] |
unsigned agg::rasterizer_compound_aa< Clip >::sweep_styles | ( | ) |