Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
icl::core::ImageRenderer Class Reference

#include <ImageRenderer.h>

Inheritance diagram for icl::core::ImageRenderer:
icl::utils::Uncopyable

Public Member Functions

 ImageRenderer (ImgBase *image=0)
 
 ~ImageRenderer ()
 
void setImage (ImgBase *image)
 
void color (int r, int g, int b, int a)
 
void fill (int r, int g, int b, int a)
 
void symsize (float size)
 
void fontsize (float size)
 
void sym (char sym, int x, int y)
 
void rect (int x, int y, int w, int h)
 
void triangle (int x1, int y1, int x2, int y2, int x3, int y3)
 
void line (int x1, int y1, int x2, int y2)
 
void linestrip (int n, int *xs, int *ys, int xStride=1, int yStride=1)
 
void pix (int x1, int x2)
 
void pix (int n, int *xs, int *ys, int xStride=1, int yStride=1)
 
void circle (int cx, int cy, int r)
 
void ellipse (int x, int y, int w, int h)
 
void text (int x, int y, const std::string &text)
 

Private Attributes

Data * m_data
 

Additional Inherited Members

- Protected Member Functions inherited from icl::utils::Uncopyable
 Uncopyable ()
 Empty base constructor. More...
 

Constructor & Destructor Documentation

icl::core::ImageRenderer::ImageRenderer ( ImgBase image = 0)
icl::core::ImageRenderer::~ImageRenderer ( )

Member Function Documentation

void icl::core::ImageRenderer::circle ( int  cx,
int  cy,
int  r 
)
void icl::core::ImageRenderer::color ( int  r,
int  g,
int  b,
int  a 
)
void icl::core::ImageRenderer::ellipse ( int  x,
int  y,
int  w,
int  h 
)
void icl::core::ImageRenderer::fill ( int  r,
int  g,
int  b,
int  a 
)
void icl::core::ImageRenderer::fontsize ( float  size)
void icl::core::ImageRenderer::line ( int  x1,
int  y1,
int  x2,
int  y2 
)
void icl::core::ImageRenderer::linestrip ( int  n,
int *  xs,
int *  ys,
int  xStride = 1,
int  yStride = 1 
)
void icl::core::ImageRenderer::pix ( int  x1,
int  x2 
)
void icl::core::ImageRenderer::pix ( int  n,
int *  xs,
int *  ys,
int  xStride = 1,
int  yStride = 1 
)
void icl::core::ImageRenderer::rect ( int  x,
int  y,
int  w,
int  h 
)
void icl::core::ImageRenderer::setImage ( ImgBase image)
void icl::core::ImageRenderer::sym ( char  sym,
int  x,
int  y 
)
void icl::core::ImageRenderer::symsize ( float  size)
void icl::core::ImageRenderer::text ( int  x,
int  y,
const std::string &  text 
)
void icl::core::ImageRenderer::triangle ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

Member Data Documentation

Data* icl::core::ImageRenderer::m_data
private

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