| EMF::OBJECT(3) | libemf | EMF::OBJECT(3) |
NAME¶
EMF::OBJECT - Global GDI object.
SYNOPSIS¶
#include <libemf.h>
Inherited by EMF::GRAPHICSOBJECT, and EMF::METAFILEDEVICECONTEXT.
Public Member Functions¶
virtual ~OBJECT ()
OBJECTs have a virtual destructor. OBJECT (void)
virtual OBJECTTYPE getType (void) const =0
Data Fields¶
HGDIOBJ handle
Detailed Description¶
Global 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.
Constructor & Destructor Documentation¶
EMF::OBJECT::OBJECT (void ) [inline]¶
Create a new object. It's up to a subclass to create a real handle for this object.
References handle.
Member Function Documentation¶
virtual OBJECTTYPE EMF::OBJECT::getType (void ) const [pure virtual]¶
Return the type of the object.
Implemented in EMF::BRUSH, EMF::EXTPEN, EMF::FONT, EMF::METAFILEDEVICECONTEXT, EMF::PALETTE, and EMF::PEN.
Field Documentation¶
HGDIOBJ EMF::OBJECT::handle¶
The handle of a GDI object.
Referenced by EMF::METAFILEDEVICECONTEXT::clearHandle(), EMF::GRAPHICSOBJECT::newEMR(), and OBJECT().
Author¶
Generated automatically by Doxygen for libemf from the source code.
| Tue Apr 14 2026 15:33:51 | Version 1.0.9 |