EMF::EMRCREATEPEN - EMF Pen.
Contents
Constructor & Destructor Documentation
EMRCREATEPEN::EMRCREATEPEN(PEN*pen,HGDIOBJhandle)Parameterspen an instance of a PEN object.
handle the PEN object's handle.
EMRCREATEPEN::EMRCREATEPEN(DATASTREAM&ds)
Construct a CreatePen record from the input stream.
Parametersds Metafile datastream.
Detailed Description
EMF Pen.
Create a new pen (used for drawing lines, arcs, rectangles, etc.).
Member Function Documentation
voidEMRCREATEPEN::execute(METAFILEDEVICECONTEXT*source,HDCdc)const[virtual]
Execute this record in the context of the given device context.
Parameterssource the device context from which this record is taken.
dc device context for execute.
Implements EMF::METARECORD.
References EMF::METAFILEDEVICECONTEXT::emf_handles.
boolEMF::EMRCREATEPEN::serialize(DATASTREAMds)[inline],[virtual]Parametersds Metafile datastream.
Implements EMF::METARECORD.
intEMF::EMRCREATEPEN::size(void)const[inline],[virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
Name
EMF::EMRCREATEPEN - EMF Pen.
Synopsis
#include <libemf.h>
Inherits EMF::METARECORD, and EMRCREATEPEN.
PublicMemberFunctionsEMRCREATEPEN (PEN *pen, HGDIOBJ handle)
EMRCREATEPEN (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *source, HDC dc) const
Public Member Functions inherited from EMF::METARECORD
virtual ~METARECORD ()
