|
hgl 0.5.25
A compiler/interpreter suite for developing images (plugin development)
|
Interface for writing images into a file. More...
#include "ioutput.h"
Public Member Functions | |
Information functions | |
| virtual std::string | getOutputFilename () const =0 |
| Get the effective output filename of the rendered picture. More... | |
Bitmap render methods | |
| virtual void | writeImage (const ICanvas &canvas, const std::string &filename=std::string()) const =0 throw (ImageOutputException) |
| Writes an ICanvas bitmap into an image. More... | |
Command line options support | |
| virtual struct::poptOption * | getPoptOptions () const |
| Get plugin supplied command line options. More... | |
Interface for writing images into a file.
See Image Output Plugins in detail for more information.
|
pure virtual |
Get the effective output filename of the rendered picture.
It should return an empty std::string if the standard output is used
Implemented in HGL::ImageOutput::DefaultPreRenderOutput.
|
virtualinherited |
Get plugin supplied command line options.
The default implementation returns NULL i.e. it won't provide own command line options
In your POPT_ARG_CALLBACK you can indicate HGL to exit gracefully by throwing HGL::Exception::PoptExitException
|
pure virtual | ||||||||||||||||||||
Writes an ICanvas bitmap into an image.
| canvas | the ICanvas bitmap to write |
| filename | filename to write the image to, if the filename is the empty string it should write to the standard output |
| ImageOutputException | if an unrecoverable error occured while writing |
Implemented in HGL::ImageOutput::DefaultPreRenderOutput.
1.8.5