.TH "EMF::OBJECT" 3 "Fri Nov 2 2018" "Version 1.0.9" "libemf" \" -*- nroff -*- .ad l .nh .SH NAME EMF::OBJECT \- Global GDI object\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBEMF::GRAPHICSOBJECT\fP, and \fBEMF::METAFILEDEVICECONTEXT\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fB~OBJECT\fP ()" .br .RI "OBJECTs have a virtual destructor\&. " .ti -1c .RI "\fBOBJECT\fP (void)" .br .ti -1c .RI "virtual OBJECTTYPE \fBgetType\fP (void) const =0" .br .in -1c .SS "Data Fields" .in +1c .ti -1c .RI "HGDIOBJ \fBhandle\fP" .br .in -1c .SH "Detailed Description" .PP 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\&. .SH "Constructor & Destructor Documentation" .PP .SS "EMF::OBJECT::OBJECT (void)\fC [inline]\fP" Create a new object\&. It's up to a subclass to create a real handle for this object\&. .SH "Member Function Documentation" .PP .SS "virtual OBJECTTYPE EMF::OBJECT::getType (void) const\fC [pure virtual]\fP" Return the type of the object\&. .PP Implemented in \fBEMF::METAFILEDEVICECONTEXT\fP, \fBEMF::PALETTE\fP, \fBEMF::FONT\fP, \fBEMF::BRUSH\fP, \fBEMF::EXTPEN\fP, and \fBEMF::PEN\fP\&. .PP Referenced by EMF::EMRCREATEPALETTE::execute()\&. .SH "Field Documentation" .PP .SS "HGDIOBJ EMF::OBJECT::handle" The handle of a GDI object\&. .PP Referenced by EMF::EMRCREATEPALETTE::execute()\&. .SH "Author" .PP Generated automatically by Doxygen for libemf from the source code\&.