Anti-Grain Geometry - AGG (libagg)
2.5
|
#include <agg_renderer_base.h>
Public Types | |
typedef PixelFormat | pixfmt_type |
typedef pixfmt_type::color_type | color_type |
typedef pixfmt_type::row_data | row_data |
Public Member Functions | |
renderer_base () | |
renderer_base (pixfmt_type &ren) | |
void | attach (pixfmt_type &ren) |
const pixfmt_type & | ren () const |
pixfmt_type & | ren () |
unsigned | width () const |
unsigned | height () const |
bool | clip_box (int x1, int y1, int x2, int y2) |
void | reset_clipping (bool visibility) |
void | clip_box_naked (int x1, int y1, int x2, int y2) |
bool | inbox (int x, int y) const |
const rect_i & | clip_box () const |
int | xmin () const |
int | ymin () const |
int | xmax () const |
int | ymax () const |
const rect_i & | bounding_clip_box () const |
int | bounding_xmin () const |
int | bounding_ymin () const |
int | bounding_xmax () const |
int | bounding_ymax () const |
void | clear (const color_type &c) |
void | copy_pixel (int x, int y, const color_type &c) |
void | blend_pixel (int x, int y, const color_type &c, cover_type cover) |
color_type | pixel (int x, int y) const |
void | copy_hline (int x1, int y, int x2, const color_type &c) |
void | copy_vline (int x, int y1, int y2, const color_type &c) |
void | blend_hline (int x1, int y, int x2, const color_type &c, cover_type cover) |
void | blend_vline (int x, int y1, int y2, const color_type &c, cover_type cover) |
void | copy_bar (int x1, int y1, int x2, int y2, const color_type &c) |
void | blend_bar (int x1, int y1, int x2, int y2, const color_type &c, cover_type cover) |
void | blend_solid_hspan (int x, int y, int len, const color_type &c, const cover_type *covers) |
void | blend_solid_vspan (int x, int y, int len, const color_type &c, const cover_type *covers) |
void | copy_color_hspan (int x, int y, int len, const color_type *colors) |
void | copy_color_vspan (int x, int y, int len, const color_type *colors) |
void | blend_color_hspan (int x, int y, int len, const color_type *colors, const cover_type *covers, cover_type cover=agg::cover_full) |
void | blend_color_vspan (int x, int y, int len, const color_type *colors, const cover_type *covers, cover_type cover=agg::cover_full) |
rect_i | clip_rect_area (rect_i &dst, rect_i &src, int wsrc, int hsrc) const |
template<class RenBuf > | |
void | copy_from (const RenBuf &src, const rect_i *rect_src_ptr=0, int dx=0, int dy=0) |
template<class SrcPixelFormatRenderer > | |
void | blend_from (const SrcPixelFormatRenderer &src, const rect_i *rect_src_ptr=0, int dx=0, int dy=0, cover_type cover=agg::cover_full) |
template<class SrcPixelFormatRenderer > | |
void | blend_from_color (const SrcPixelFormatRenderer &src, const color_type &color, const rect_i *rect_src_ptr=0, int dx=0, int dy=0, cover_type cover=agg::cover_full) |
template<class SrcPixelFormatRenderer > | |
void | blend_from_lut (const SrcPixelFormatRenderer &src, const color_type *color_lut, const rect_i *rect_src_ptr=0, int dx=0, int dy=0, cover_type cover=agg::cover_full) |
typedef pixfmt_type::color_type agg::renderer_base< PixelFormat >::color_type |
typedef PixelFormat agg::renderer_base< PixelFormat >::pixfmt_type |
typedef pixfmt_type::row_data agg::renderer_base< PixelFormat >::row_data |
agg::renderer_base< PixelFormat >::renderer_base | ( | ) | [inline] |
agg::renderer_base< PixelFormat >::renderer_base | ( | pixfmt_type & | ren | ) | [inline, explicit] |
void agg::renderer_base< PixelFormat >::attach | ( | pixfmt_type & | ren | ) | [inline] |
void agg::renderer_base< PixelFormat >::blend_bar | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_color_hspan | ( | int | x, |
int | y, | ||
int | len, | ||
const color_type * | colors, | ||
const cover_type * | covers, | ||
cover_type | cover = agg::cover_full |
||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_color_vspan | ( | int | x, |
int | y, | ||
int | len, | ||
const color_type * | colors, | ||
const cover_type * | covers, | ||
cover_type | cover = agg::cover_full |
||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_from | ( | const SrcPixelFormatRenderer & | src, |
const rect_i * | rect_src_ptr = 0 , |
||
int | dx = 0 , |
||
int | dy = 0 , |
||
cover_type | cover = agg::cover_full |
||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_from_color | ( | const SrcPixelFormatRenderer & | src, |
const color_type & | color, | ||
const rect_i * | rect_src_ptr = 0 , |
||
int | dx = 0 , |
||
int | dy = 0 , |
||
cover_type | cover = agg::cover_full |
||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_from_lut | ( | const SrcPixelFormatRenderer & | src, |
const color_type * | color_lut, | ||
const rect_i * | rect_src_ptr = 0 , |
||
int | dx = 0 , |
||
int | dy = 0 , |
||
cover_type | cover = agg::cover_full |
||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_hline | ( | int | x1, |
int | y, | ||
int | x2, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_pixel | ( | int | x, |
int | y, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_solid_hspan | ( | int | x, |
int | y, | ||
int | len, | ||
const color_type & | c, | ||
const cover_type * | covers | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_solid_vspan | ( | int | x, |
int | y, | ||
int | len, | ||
const color_type & | c, | ||
const cover_type * | covers | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::blend_vline | ( | int | x, |
int | y1, | ||
int | y2, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
const rect_i& agg::renderer_base< PixelFormat >::bounding_clip_box | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::bounding_xmax | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::bounding_xmin | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::bounding_ymax | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::bounding_ymin | ( | ) | const [inline] |
void agg::renderer_base< PixelFormat >::clear | ( | const color_type & | c | ) | [inline] |
bool agg::renderer_base< PixelFormat >::clip_box | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) | [inline] |
const rect_i& agg::renderer_base< PixelFormat >::clip_box | ( | ) | const [inline] |
void agg::renderer_base< PixelFormat >::clip_box_naked | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) | [inline] |
rect_i agg::renderer_base< PixelFormat >::clip_rect_area | ( | rect_i & | dst, |
rect_i & | src, | ||
int | wsrc, | ||
int | hsrc | ||
) | const [inline] |
void agg::renderer_base< PixelFormat >::copy_bar | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
const color_type & | c | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::copy_color_hspan | ( | int | x, |
int | y, | ||
int | len, | ||
const color_type * | colors | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::copy_color_vspan | ( | int | x, |
int | y, | ||
int | len, | ||
const color_type * | colors | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::copy_from | ( | const RenBuf & | src, |
const rect_i * | rect_src_ptr = 0 , |
||
int | dx = 0 , |
||
int | dy = 0 |
||
) | [inline] |
void agg::renderer_base< PixelFormat >::copy_hline | ( | int | x1, |
int | y, | ||
int | x2, | ||
const color_type & | c | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::copy_pixel | ( | int | x, |
int | y, | ||
const color_type & | c | ||
) | [inline] |
void agg::renderer_base< PixelFormat >::copy_vline | ( | int | x, |
int | y1, | ||
int | y2, | ||
const color_type & | c | ||
) | [inline] |
unsigned agg::renderer_base< PixelFormat >::height | ( | ) | const [inline] |
bool agg::renderer_base< PixelFormat >::inbox | ( | int | x, |
int | y | ||
) | const [inline] |
color_type agg::renderer_base< PixelFormat >::pixel | ( | int | x, |
int | y | ||
) | const [inline] |
const pixfmt_type& agg::renderer_base< PixelFormat >::ren | ( | ) | const [inline] |
pixfmt_type& agg::renderer_base< PixelFormat >::ren | ( | ) | [inline] |
void agg::renderer_base< PixelFormat >::reset_clipping | ( | bool | visibility | ) | [inline] |
unsigned agg::renderer_base< PixelFormat >::width | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::xmax | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::xmin | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::ymax | ( | ) | const [inline] |
int agg::renderer_base< PixelFormat >::ymin | ( | ) | const [inline] |