.TH "EMF::GRAPHICSOBJECT" 3 "Tue Jun 30 2020" "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 .SS "Data Fields" .in +1c .ti -1c .RI "std::map< HDC, HGDIOBJ > \fBcontexts\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::PALETTE\fP, \fBEMF::FONT\fP, \fBEMF::BRUSH\fP, \fBEMF::EXTPEN\fP, and \fBEMF::PEN\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 EMF::PEN::newEMR(), EMF::EXTPEN::newEMR(), EMF::BRUSH::newEMR(), EMF::FONT::newEMR(), and EMF::PALETTE::newEMR()\&. .SH "Author" .PP Generated automatically by Doxygen for libemf from the source code\&.