DOKK / manpages / debian 11 / libemf-doc / EMF_OBJECT.3.en
EMF::OBJECT(3) libemf EMF::OBJECT(3)

EMF::OBJECT - Global GDI object.

#include <libemf.h>

Inherited by EMF::GRAPHICSOBJECT, and EMF::METAFILEDEVICECONTEXT.


virtual ~OBJECT ()
OBJECTs have a virtual destructor. OBJECT (void)
virtual OBJECTTYPE getType (void) const =0


HGDIOBJ handle

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.

Create a new object. It's up to a subclass to create a real handle for this object.

Return the type of the object.

Implemented in EMF::METAFILEDEVICECONTEXT, EMF::PALETTE, EMF::FONT, EMF::BRUSH, EMF::EXTPEN, and EMF::PEN.

The handle of a GDI object.

Referenced by EMF::METAFILEDEVICECONTEXT::clearHandle().

Generated automatically by Doxygen for libemf from the source code.

Tue Jun 30 2020 Version 1.0.9