Io::RendererSvg class reference
[Core module]

Declaration  

#include <Goptical/Io/RendererSvg>

namespace Goptical {
namespace Io {
class RendererSvg;
};
};

This class is a member of the Io namespace.

Inheritance  

Description  

This class implements a SVG graphic output driver.

Members  

See also the full member list section for this class.

Inherited members  

Functions  

  • RendererSvg(double width = [...], double height = [...], const Rgb &background = [...])
  • RendererSvg(const char *filename, double width = [...], double height = [...], const Rgb &background = [...])
  • ~RendererSvg()
  • void write(std::ostream &s)

Members detail  

RendererSvg(double width = 800, double height = 600, const Rgb &background = rgb_white)  

Create a new svg renderer with given resolution. The write function must be used to write svg to output stream.

RendererSvg(const char *filename, double width = 800, double height = 600, const Rgb &background = rgb_white)  

Create a new svg renderer with given resolution and viewport window. Svg output will be written to given filename when the renderer object is destroyed.

~RendererSvg()  

No documentation available

void write(std::ostream &s)  

Write svg output to given stream.

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