Anti-Grain Geometry - AGG (libagg)
2.5
|
#include <agg_pixfmt_amask_adaptor.h>
Public Types | |
typedef PixFmt | pixfmt_type |
typedef pixfmt_type::color_type | color_type |
typedef pixfmt_type::row_data | row_data |
typedef AlphaMask | amask_type |
typedef amask_type::cover_type | cover_type |
Public Member Functions | |
pixfmt_amask_adaptor (pixfmt_type &pixf, const amask_type &mask) | |
void | attach_pixfmt (pixfmt_type &pixf) |
void | attach_alpha_mask (const amask_type &mask) |
template<class PixFmt2 > | |
bool | attach_pixfmt (PixFmt2 &pixf, int x1, int y1, int x2, int y2) |
unsigned | width () const |
unsigned | height () const |
color_type | pixel (int x, int y) |
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) |
void | copy_hline (int x, int y, unsigned len, const color_type &c) |
void | blend_hline (int x, int y, unsigned len, const color_type &c, cover_type cover) |
void | copy_vline (int x, int y, unsigned len, const color_type &c) |
void | blend_vline (int x, int y, unsigned len, const color_type &c, cover_type cover) |
void | copy_from (const rendering_buffer &from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) |
void | blend_solid_hspan (int x, int y, unsigned len, const color_type &c, const cover_type *covers) |
void | blend_solid_vspan (int x, int y, unsigned len, const color_type &c, const cover_type *covers) |
void | copy_color_hspan (int x, int y, unsigned len, const color_type *colors) |
void | copy_color_vspan (int x, int y, unsigned len, const color_type *colors) |
void | blend_color_hspan (int x, int y, unsigned len, const color_type *colors, const cover_type *covers, cover_type cover=cover_full) |
void | blend_color_vspan (int x, int y, unsigned len, const color_type *colors, const cover_type *covers, cover_type cover=cover_full) |
typedef AlphaMask agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::amask_type |
typedef pixfmt_type::color_type agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::color_type |
typedef amask_type::cover_type agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::cover_type |
typedef PixFmt agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::pixfmt_type |
typedef pixfmt_type::row_data agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::row_data |
agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::pixfmt_amask_adaptor | ( | pixfmt_type & | pixf, |
const amask_type & | mask | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::attach_alpha_mask | ( | const amask_type & | mask | ) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::attach_pixfmt | ( | pixfmt_type & | pixf | ) | [inline] |
bool agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::attach_pixfmt | ( | PixFmt2 & | pixf, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_color_hspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors, | ||
const cover_type * | covers, | ||
cover_type | cover = cover_full |
||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_color_vspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors, | ||
const cover_type * | covers, | ||
cover_type | cover = cover_full |
||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_hline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_pixel | ( | int | x, |
int | y, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_solid_hspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
const cover_type * | covers | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_solid_vspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
const cover_type * | covers | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_vline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
cover_type | cover | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_color_hspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_color_vspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_from | ( | const rendering_buffer & | from, |
int | xdst, | ||
int | ydst, | ||
int | xsrc, | ||
int | ysrc, | ||
unsigned | len | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_hline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_pixel | ( | int | x, |
int | y, | ||
const color_type & | c | ||
) | [inline] |
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_vline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c | ||
) | [inline] |
unsigned agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::height | ( | ) | const [inline] |
color_type agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::pixel | ( | int | x, |
int | y | ||
) | [inline] |
unsigned agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::width | ( | ) | const [inline] |