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
- 31 members inherited from RendererViewport
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
No documentation available
This virtual function overrides the clear
virtual function defined in the RendererViewport
base abstract class for internal purposes.
Clear current image buffer
No documentation available
void write(const std::string &filename)
Write image to file in png format