Anti-Grain Geometry - AGG (libagg)
2.5
|
#include <agg_pixfmt_rgba.h>
Public Types | |
enum | base_scale_e { base_shift = color_type::base_shift, base_scale = color_type::base_scale, base_mask = color_type::base_mask, pix_width = sizeof(pixel_type) } |
typedef RenBuf | rbuf_type |
typedef rbuf_type::row_data | row_data |
typedef PixelT | pixel_type |
typedef Blender | blender_type |
typedef blender_type::color_type | color_type |
typedef blender_type::order_type | order_type |
typedef color_type::value_type | value_type |
typedef color_type::calc_type | calc_type |
typedef copy_or_blend_rgba_wrapper < blender_type > | cob_type |
Public Member Functions | |
pixfmt_alpha_blend_rgba () | |
pixfmt_alpha_blend_rgba (rbuf_type &rb) | |
void | attach (rbuf_type &rb) |
template<class PixFmt > | |
bool | attach (PixFmt &pixf, int x1, int y1, int x2, int y2) |
AGG_INLINE unsigned | width () const |
AGG_INLINE unsigned | height () const |
AGG_INLINE int | stride () const |
AGG_INLINE int8u * | row_ptr (int y) |
AGG_INLINE const int8u * | row_ptr (int y) const |
AGG_INLINE row_data | row (int y) const |
AGG_INLINE int8u * | pix_ptr (int x, int y) |
AGG_INLINE const int8u * | pix_ptr (int x, int y) const |
AGG_INLINE color_type | pixel (int x, int y) const |
AGG_INLINE void | copy_pixel (int x, int y, const color_type &c) |
AGG_INLINE void | blend_pixel (int x, int y, const color_type &c, int8u cover) |
AGG_INLINE void | copy_hline (int x, int y, unsigned len, const color_type &c) |
AGG_INLINE void | copy_vline (int x, int y, unsigned len, const color_type &c) |
void | blend_hline (int x, int y, unsigned len, const color_type &c, int8u cover) |
void | blend_vline (int x, int y, unsigned len, const color_type &c, int8u cover) |
void | blend_solid_hspan (int x, int y, unsigned len, const color_type &c, const int8u *covers) |
void | blend_solid_vspan (int x, int y, unsigned len, const color_type &c, const int8u *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 int8u *covers, int8u cover) |
void | blend_color_vspan (int x, int y, unsigned len, const color_type *colors, const int8u *covers, int8u cover) |
template<class Function > | |
void | for_each_pixel (Function f) |
void | premultiply () |
void | demultiply () |
template<class GammaLut > | |
void | apply_gamma_dir (const GammaLut &g) |
template<class GammaLut > | |
void | apply_gamma_inv (const GammaLut &g) |
template<class RenBuf2 > | |
void | copy_from (const RenBuf2 &from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) |
template<class SrcPixelFormatRenderer > | |
void | blend_from (const SrcPixelFormatRenderer &from, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) |
template<class SrcPixelFormatRenderer > | |
void | blend_from_color (const SrcPixelFormatRenderer &from, const color_type &color, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) |
template<class SrcPixelFormatRenderer > | |
void | blend_from_lut (const SrcPixelFormatRenderer &from, const color_type *color_lut, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) |
Static Public Member Functions | |
static AGG_INLINE void | make_pix (int8u *p, const color_type &c) |
typedef Blender agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blender_type |
typedef color_type::calc_type agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::calc_type |
typedef copy_or_blend_rgba_wrapper<blender_type> agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::cob_type |
typedef blender_type::color_type agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::color_type |
typedef blender_type::order_type agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::order_type |
typedef PixelT agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::pixel_type |
typedef RenBuf agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::rbuf_type |
typedef rbuf_type::row_data agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::row_data |
typedef color_type::value_type agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::value_type |
enum agg::pixfmt_alpha_blend_rgba::base_scale_e |
agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::pixfmt_alpha_blend_rgba | ( | ) | [inline] |
agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::pixfmt_alpha_blend_rgba | ( | rbuf_type & | rb | ) | [inline, explicit] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::apply_gamma_dir | ( | const GammaLut & | g | ) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::apply_gamma_inv | ( | const GammaLut & | g | ) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::attach | ( | rbuf_type & | rb | ) | [inline] |
bool agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::attach | ( | PixFmt & | pixf, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_color_hspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors, | ||
const int8u * | covers, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_color_vspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors, | ||
const int8u * | covers, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_from | ( | const SrcPixelFormatRenderer & | from, |
int | xdst, | ||
int | ydst, | ||
int | xsrc, | ||
int | ysrc, | ||
unsigned | len, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_from_color | ( | const SrcPixelFormatRenderer & | from, |
const color_type & | color, | ||
int | xdst, | ||
int | ydst, | ||
int | xsrc, | ||
int | ysrc, | ||
unsigned | len, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_from_lut | ( | const SrcPixelFormatRenderer & | from, |
const color_type * | color_lut, | ||
int | xdst, | ||
int | ydst, | ||
int | xsrc, | ||
int | ysrc, | ||
unsigned | len, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_hline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
int8u | cover | ||
) | [inline] |
AGG_INLINE void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_pixel | ( | int | x, |
int | y, | ||
const color_type & | c, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_solid_hspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
const int8u * | covers | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_solid_vspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
const int8u * | covers | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::blend_vline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c, | ||
int8u | cover | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::copy_color_hspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::copy_color_vspan | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type * | colors | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::copy_from | ( | const RenBuf2 & | from, |
int | xdst, | ||
int | ydst, | ||
int | xsrc, | ||
int | ysrc, | ||
unsigned | len | ||
) | [inline] |
AGG_INLINE void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::copy_hline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c | ||
) | [inline] |
AGG_INLINE void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::copy_pixel | ( | int | x, |
int | y, | ||
const color_type & | c | ||
) | [inline] |
AGG_INLINE void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::copy_vline | ( | int | x, |
int | y, | ||
unsigned | len, | ||
const color_type & | c | ||
) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::demultiply | ( | ) | [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::for_each_pixel | ( | Function | f | ) | [inline] |
AGG_INLINE unsigned agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::height | ( | ) | const [inline] |
static AGG_INLINE void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::make_pix | ( | int8u * | p, |
const color_type & | c | ||
) | [inline, static] |
AGG_INLINE int8u* agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::pix_ptr | ( | int | x, |
int | y | ||
) | [inline] |
AGG_INLINE const int8u* agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::pix_ptr | ( | int | x, |
int | y | ||
) | const [inline] |
AGG_INLINE color_type agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::pixel | ( | int | x, |
int | y | ||
) | const [inline] |
void agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::premultiply | ( | ) | [inline] |
AGG_INLINE row_data agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::row | ( | int | y | ) | const [inline] |
AGG_INLINE int8u* agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::row_ptr | ( | int | y | ) | [inline] |
AGG_INLINE const int8u* agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::row_ptr | ( | int | y | ) | const [inline] |
AGG_INLINE int agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::stride | ( | ) | const [inline] |
AGG_INLINE unsigned agg::pixfmt_alpha_blend_rgba< Blender, RenBuf, PixelT >::width | ( | ) | const [inline] |