.TH "EMF::GRAPHICSOBJECT" 3 "Thu Nov 30 2023 23:30:32" "Version 1.0.9" "libemf" \" -*- nroff -*- .ad l .nh .SH NAME EMF::GRAPHICSOBJECT \- A global graphics object\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBEMF::OBJECT\fP\&. .PP Inherited by \fBEMF::BRUSH\fP, \fBEMF::EXTPEN\fP, \fBEMF::FONT\fP, \fBEMF::PALETTE\fP, and \fBEMF::PEN\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fB~GRAPHICSOBJECT\fP ()" .br .RI "GRAPHICSOBJECTs has a virtual destructor\&. " .ti -1c .RI "virtual \fBMETARECORD\fP * \fBnewEMR\fP (HDC dc, HGDIOBJ \fBhandle\fP)=0" .br .in -1c Public Member Functions inherited from \fBEMF::OBJECT\fP .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 "std::map< HDC, HGDIOBJ > \fBcontexts\fP" .br .in -1c Data Fields inherited from \fBEMF::OBJECT\fP .in +1c .ti -1c .RI "HGDIOBJ \fBhandle\fP" .br .in -1c .SH "Detailed Description" .PP A global graphics object\&. Graphics objects have some additional properties: When an object is Select'ed into a device context, the handle for that context is added to the list of context's in which this object is used\&. .SH "Member Function Documentation" .PP .SS "virtual \fBMETARECORD\fP * EMF::GRAPHICSOBJECT::newEMR (HDC dc, HGDIOBJ handle)\fC [pure virtual]\fP" Create a new metarecord which describes this object\&. .PP \fBParameters\fP .RS 4 \fIdc\fP the handle to the device context\&. .br \fIhandle\fP (appears not to used\&. Note the handle is really assigned at serialization time\&.) .RE .PP .PP Implemented in \fBEMF::PEN\fP, \fBEMF::EXTPEN\fP, \fBEMF::BRUSH\fP, \fBEMF::FONT\fP, and \fBEMF::PALETTE\fP\&. .SH "Field Documentation" .PP .SS "std::map< HDC, HGDIOBJ > EMF::GRAPHICSOBJECT::contexts" A set of all the contexts into which this object has been selected and the associated metafile handle for the object\&. .PP Referenced by \fBEMF::PEN::newEMR()\fP, \fBEMF::EXTPEN::newEMR()\fP, \fBEMF::BRUSH::newEMR()\fP, \fBEMF::FONT::newEMR()\fP, and \fBEMF::PALETTE::newEMR()\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libemf from the source code\&.