#include <libemf.h>
Inheritance diagram for EMF::OBJECT::
Public Methods | |
virtual | ~OBJECT () |
OBJECTs have a virtual destructor. | |
OBJECT (void) | |
virtual OBJECTTYPE | getType (void) const=0 |
Public Attributes | |
HGDIOBJ | handle |
The handle of a GDI object. |
The GDI interface defines objects in terms of handles (rather than pointers). In order to emulate this, each object is placed into a global list and the index in that list becomes their handle.
|
Create a new object. It's up to a subclass to create a real handle for this object. |
|
Return the type of the object. Reimplemented in EMF::PEN, EMF::EXTPEN, EMF::BRUSH, EMF::FONT, EMF::PALETTE, and EMF::METAFILEDEVICECONTEXT. |