Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions
agg::pixfmt_amask_adaptor< PixFmt, AlphaMask > Class Template Reference

#include <agg_pixfmt_amask_adaptor.h>

List of all members.

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)

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


Member Typedef Documentation

template<class PixFmt , class AlphaMask >
typedef AlphaMask agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::amask_type
template<class PixFmt , class AlphaMask >
typedef pixfmt_type::color_type agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::color_type
template<class PixFmt , class AlphaMask >
typedef amask_type::cover_type agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::cover_type
template<class PixFmt , class AlphaMask >
typedef PixFmt agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::pixfmt_type
template<class PixFmt , class AlphaMask >
typedef pixfmt_type::row_data agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::row_data

Constructor & Destructor Documentation

template<class PixFmt , class AlphaMask >
agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::pixfmt_amask_adaptor ( pixfmt_type pixf,
const amask_type mask 
) [inline]

Member Function Documentation

template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::attach_alpha_mask ( const amask_type mask) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::attach_pixfmt ( pixfmt_type pixf) [inline]
template<class PixFmt , class AlphaMask >
template<class PixFmt2 >
bool agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::attach_pixfmt ( PixFmt2 &  pixf,
int  x1,
int  y1,
int  x2,
int  y2 
) [inline]
template<class PixFmt , class AlphaMask >
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]
template<class PixFmt , class AlphaMask >
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]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_hline ( int  x,
int  y,
unsigned  len,
const color_type c,
cover_type  cover 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_pixel ( int  x,
int  y,
const color_type c,
cover_type  cover 
) [inline]
template<class PixFmt , class AlphaMask >
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]
template<class PixFmt , class AlphaMask >
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]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::blend_vline ( int  x,
int  y,
unsigned  len,
const color_type c,
cover_type  cover 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_color_hspan ( int  x,
int  y,
unsigned  len,
const color_type colors 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_color_vspan ( int  x,
int  y,
unsigned  len,
const color_type colors 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_from ( const rendering_buffer from,
int  xdst,
int  ydst,
int  xsrc,
int  ysrc,
unsigned  len 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_hline ( int  x,
int  y,
unsigned  len,
const color_type c 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_pixel ( int  x,
int  y,
const color_type c 
) [inline]
template<class PixFmt , class AlphaMask >
void agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::copy_vline ( int  x,
int  y,
unsigned  len,
const color_type c 
) [inline]
template<class PixFmt , class AlphaMask >
unsigned agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::height ( ) const [inline]
template<class PixFmt , class AlphaMask >
color_type agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::pixel ( int  x,
int  y 
) [inline]
template<class PixFmt , class AlphaMask >
unsigned agg::pixfmt_amask_adaptor< PixFmt, AlphaMask >::width ( ) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines