Anti-Grain Geometry Tutorial
agg::renderer_base< PixelFormat > Class Template Reference

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 (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 fill (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)
 

Detailed Description

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

Definition at line 30 of file agg_renderer_base.h.


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