Image Component Library (ICL)
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

◆ ImageRenderer()

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

◆ ~ImageRenderer()

icl::core::ImageRenderer::~ImageRenderer ( )

Member Function Documentation

◆ circle()

void icl::core::ImageRenderer::circle ( int  cx,
int  cy,
int  r 
)

◆ color()

void icl::core::ImageRenderer::color ( int  r,
int  g,
int  b,
int  a 
)

◆ ellipse()

void icl::core::ImageRenderer::ellipse ( int  x,
int  y,
int  w,
int  h 
)

◆ fill()

void icl::core::ImageRenderer::fill ( int  r,
int  g,
int  b,
int  a 
)

◆ fontsize()

void icl::core::ImageRenderer::fontsize ( float  size)

◆ line()

void icl::core::ImageRenderer::line ( int  x1,
int  y1,
int  x2,
int  y2 
)

◆ linestrip()

void icl::core::ImageRenderer::linestrip ( int  n,
int *  xs,
int *  ys,
int  xStride = 1,
int  yStride = 1 
)

◆ pix() [1/2]

void icl::core::ImageRenderer::pix ( int  x1,
int  x2 
)

◆ pix() [2/2]

void icl::core::ImageRenderer::pix ( int  n,
int *  xs,
int *  ys,
int  xStride = 1,
int  yStride = 1 
)

◆ rect()

void icl::core::ImageRenderer::rect ( int  x,
int  y,
int  w,
int  h 
)

◆ setImage()

void icl::core::ImageRenderer::setImage ( ImgBase image)

◆ sym()

void icl::core::ImageRenderer::sym ( char  sym,
int  x,
int  y 
)

◆ symsize()

void icl::core::ImageRenderer::symsize ( float  size)

◆ text()

void icl::core::ImageRenderer::text ( int  x,
int  y,
const std::string &  text 
)

◆ triangle()

void icl::core::ImageRenderer::triangle ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

Member Data Documentation

◆ m_data

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

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