EMF_OBJECT3
Global gdi object.
Usage
Inherited by
EMF::GRAPHICSOBJECT,
and
EMF::METAFILEDEVICECONTEXT.
Public Member Functions
virtual ~OBJECT
()
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.
Member Function Documentation
virtual OBJECTTYPE EMF::OBJECT::getType (void) const [pure virtual]
Return the type of the object.
Implemented in EMF::PEN, EMF::EXTPEN, EMF::BRUSH, EMF::FONT, EMF::PALETTE, and EMF::METAFILEDEVICECONTEXT.
Field Documentation
HGDIOBJ EMF::OBJECT::handle
The handle of a GDI object.
Referenced by EMF::METAFILEDEVICECONTEXT::clearHandle().
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)