EMF::EMRPOLYGON - EMF Filled Polygon.
Contents
Constructor & Destructor Documentation
EMF::EMRPOLYGON::EMRPOLYGON(constRECTL*bounds,constPOINT*points,INTn)[inline]Parametersbounds overall bounding box of polygon.
points array of polygon vertices.
n number of vertices in points.
EMF::EMRPOLYGON::EMRPOLYGON(DATASTREAM&ds)[inline]
Construct a Polygon record from the input stream.
Parametersds Metafile datastream.
EMF::EMRPOLYGON::~EMRPOLYGON()[inline]
Destructor frees a copy of the points it buffered.
Detailed Description
EMF Filled Polygon.
Draw a filled polygon.
Member Function Documentation
voidEMF::EMRPOLYGON::execute(METAFILEDEVICECONTEXT*source,HDCdc)const[inline],[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.
boolEMF::EMRPOLYGON::serialize(DATASTREAMds)[inline],[virtual]Parametersds Metafile datastream.
Implements EMF::METARECORD.
intEMF::EMRPOLYGON::size(void)const[inline],[virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
Name
EMF::EMRPOLYGON - EMF Filled Polygon.
Synopsis
#include <libemf.h>
Inherits EMF::METARECORD, and EMRPOLYLINE.
PublicMemberFunctionsEMRPOLYGON (const RECTL *bounds, const POINT *points, INT n)
EMRPOLYGON (DATASTREAM &ds)
~EMRPOLYGON ()
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *source, HDC dc) const
Public Member Functions inherited from EMF::METARECORD
virtual ~METARECORD ()
