Subsections

 
6.6 OESVGImage

class OESVGImage : public OEDepictBase

The OESVGImage class is an implementation of the abstract OEDepictBase base class (interface) that implements the drawing functionality by generating Scalable Vector Graphics (SVG) commands, which are a form of XML.

6.6.1 Write

bool Write(OEPlatform::oeostream &os, bool header=true)

After rendering an image into a OESVGImage instance, use the OESVGImage::Write method to emit the SVG commands to the specified output stream os. The header argument can be used to control whether the initial ``<?xml ...?>'' and ``<!DOCTYPE svg ...>'' tags are written.