Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions
agg::renderer_base< PixelFormat > Class Template Reference

#include <agg_renderer_base.h>

List of all members.

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_typeren () const
pixfmt_typeren ()
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_iclip_box () const
int xmin () const
int ymin () const
int xmax () const
int ymax () const
const rect_ibounding_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)

template<class PixelFormat>
class agg::renderer_base< PixelFormat >


Member Typedef Documentation

template<class PixelFormat>
typedef pixfmt_type::color_type agg::renderer_base< PixelFormat >::color_type
template<class PixelFormat>
typedef PixelFormat agg::renderer_base< PixelFormat >::pixfmt_type
template<class PixelFormat>
typedef pixfmt_type::row_data agg::renderer_base< PixelFormat >::row_data

Constructor & Destructor Documentation

template<class PixelFormat>
agg::renderer_base< PixelFormat >::renderer_base ( ) [inline]
template<class PixelFormat>
agg::renderer_base< PixelFormat >::renderer_base ( pixfmt_type ren) [inline, explicit]

Member Function Documentation

template<class PixelFormat>
void agg::renderer_base< PixelFormat >::attach ( pixfmt_type ren) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::blend_bar ( int  x1,
int  y1,
int  x2,
int  y2,
const color_type c,
cover_type  cover 
) [inline]
template<class PixelFormat>
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]
template<class PixelFormat>
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]
template<class PixelFormat>
template<class SrcPixelFormatRenderer >
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]
template<class PixelFormat>
template<class SrcPixelFormatRenderer >
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]
template<class PixelFormat>
template<class SrcPixelFormatRenderer >
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]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::blend_hline ( int  x1,
int  y,
int  x2,
const color_type c,
cover_type  cover 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::blend_pixel ( int  x,
int  y,
const color_type c,
cover_type  cover 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::blend_solid_hspan ( int  x,
int  y,
int  len,
const color_type c,
const cover_type covers 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::blend_solid_vspan ( int  x,
int  y,
int  len,
const color_type c,
const cover_type covers 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::blend_vline ( int  x,
int  y1,
int  y2,
const color_type c,
cover_type  cover 
) [inline]
template<class PixelFormat>
const rect_i& agg::renderer_base< PixelFormat >::bounding_clip_box ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::bounding_xmax ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::bounding_xmin ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::bounding_ymax ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::bounding_ymin ( ) const [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::clear ( const color_type c) [inline]
template<class PixelFormat>
bool agg::renderer_base< PixelFormat >::clip_box ( int  x1,
int  y1,
int  x2,
int  y2 
) [inline]
template<class PixelFormat>
const rect_i& agg::renderer_base< PixelFormat >::clip_box ( ) const [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::clip_box_naked ( int  x1,
int  y1,
int  x2,
int  y2 
) [inline]
template<class PixelFormat>
rect_i agg::renderer_base< PixelFormat >::clip_rect_area ( rect_i dst,
rect_i src,
int  wsrc,
int  hsrc 
) const [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::copy_bar ( int  x1,
int  y1,
int  x2,
int  y2,
const color_type c 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::copy_color_hspan ( int  x,
int  y,
int  len,
const color_type colors 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::copy_color_vspan ( int  x,
int  y,
int  len,
const color_type colors 
) [inline]
template<class PixelFormat>
template<class RenBuf >
void agg::renderer_base< PixelFormat >::copy_from ( const RenBuf &  src,
const rect_i rect_src_ptr = 0,
int  dx = 0,
int  dy = 0 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::copy_hline ( int  x1,
int  y,
int  x2,
const color_type c 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::copy_pixel ( int  x,
int  y,
const color_type c 
) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::copy_vline ( int  x,
int  y1,
int  y2,
const color_type c 
) [inline]
template<class PixelFormat>
unsigned agg::renderer_base< PixelFormat >::height ( ) const [inline]
template<class PixelFormat>
bool agg::renderer_base< PixelFormat >::inbox ( int  x,
int  y 
) const [inline]
template<class PixelFormat>
color_type agg::renderer_base< PixelFormat >::pixel ( int  x,
int  y 
) const [inline]
template<class PixelFormat>
const pixfmt_type& agg::renderer_base< PixelFormat >::ren ( ) const [inline]
template<class PixelFormat>
pixfmt_type& agg::renderer_base< PixelFormat >::ren ( ) [inline]
template<class PixelFormat>
void agg::renderer_base< PixelFormat >::reset_clipping ( bool  visibility) [inline]
template<class PixelFormat>
unsigned agg::renderer_base< PixelFormat >::width ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::xmax ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::xmin ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::ymax ( ) const [inline]
template<class PixelFormat>
int agg::renderer_base< PixelFormat >::ymin ( ) const [inline]

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