Io::RendererGd class reference
[Core module]

Declaration  

#include <Goptical/Io/RendererGd>

namespace Goptical {
namespace Io {
class RendererGd;
};
};

This class is a member of the Io namespace.

Inheritance  

Description  

This class implements a Gd graphic output driver. It needs the gd library to compile.

Members  

See also the full member list section for this class.

Inherited members  

Functions  

  • RendererGd(gdImagePtr im, const Rgb &background = [...], gdFontPtr font = [...], const char *TFfontlist = [...])
  • RendererGd(const char *filename, unsigned int width = [...], unsigned int height = [...], const Rgb &background = [...], const char *TFfontlist = [...])
  • RendererGd(unsigned int width = [...], unsigned int height = [...], const Rgb &background = [...], const char *TFfontlist = [...])
  • ~RendererGd()
  • virtual void clear()
  • void set_brush_thickness(unsigned int t)
  • void write(const std::string &filename)

Members detail  

RendererGd(gdImagePtr im, const Rgb &background = rgb_white, gdFontPtr font = 0, const char *TFfontlist = 0)  

Create a new gd renderer using specified gd resources

RendererGd(const char *filename, unsigned int width = 800, unsigned int height = 600, const Rgb &background = rgb_white, const char *TFfontlist = 0)  

Create a new gd renderer with given resolution, png output will be written to file on renderer destruction.

RendererGd(unsigned int width = 800, unsigned int height = 600, const Rgb &background = rgb_white, const char *TFfontlist = 0)  

Create a new gd renderer with given resolution

~RendererGd()  

No documentation available

virtual void clear()  

This virtual function overrides the clear virtual function defined in the RendererViewport base abstract class for internal purposes.

Clear current image buffer

void set_brush_thickness(unsigned int t)  

No documentation available

void write(const std::string &filename)  

Write image to file in png format

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc