Subsections

 
6.5 OEPSImage

class OEPSImage : public OEDepictBase

The OEPSImage class is an implementation of the abstract OEDepictBase base class (interface) that implements the drawing functionality by generating Encapsulated PostScript.

6.5.1 Write

bool Write(OEPlatform::oeostream &os)
bool Write(OEPlatform::oeostream &os, bool more)

After rendering an image into a OEPSImage instance, use the OEPSImage::Write method to emit the PostScript commands to the specified output stream os.

The second form of the OEPSImage::Write function can be used to efficiently generate multiple page PostScript documents. If the more argument is true, the current page will be written assuming that there are more pages to follow. The last page of a multiple document should be emitted with a more value of false, in order to generate the appropriate PostScript trailers.

The single parameter form is equivalent to calling the two parameter form with a second argument of false.