Anti-Grain Geometry Tutorial
agg::pixfmt_amask_adaptor< PixFmt, AlphaMask > Class Template Reference

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, amask_type &mask)
 
void attach_pixfmt (pixfmt_type &pixf)
 
void attach_alpha_mask (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)
 
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)
 
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)
 

Detailed Description

template<class PixFmt, class AlphaMask>
class agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >

Definition at line 28 of file agg_pixfmt_amask_adaptor.h.


The documentation for this class was generated from the following file: