OEImageFileBase

class OEImageFileBase : public OEImageBase

The OEImageFileBase is an abstract class that is used to write concrete image files.

The following methods are publicly inherited from OEImageBase:

Clear

DrawPoint

GetHeight

DrawArc

DrawPolygon

GetMinFontSize

DrawCircle

DrawQuadraticBezier

GetWidth

DrawCubicBezier

DrawRectangle

SetMinFontSize

DrawLine

DrawText

DrawPie

DrawTriangle

Constructors

OEImageFileBase(double width, double height)

Default constructors that creates an image file with the given dimensions.

GetExtension

std::string GetExtension() const =0

Returns the file extension associated with the concrete image file type.

IsVisible

virtual bool IsVisible() const;

Returns whether the top active SVG group is visible i.e. returns OESVGGroup::IsVisible.

PopGroup

virtual bool PopGroup (const OESVGGroup*)

Pops the OESVGGroup object.

PushGroup

virtual bool PushGroup(const OESVGGroup*)

Pushes the OESVGGroup object.

Write

bool Write(OEPlatform::oeostream &os)=0

The OEImageFileBase::Write is a virtual method that has to be implemented in the concrete derived classes and it writes the image into the given output stream.