EMF_EMRPOLYGON(3)
EMF Filled Polygon.
Description
EMF::EMRPOLYGON
NAME
EMF::EMRPOLYGON - EMF Filled Polygon.
SYNOPSIS
#include <libemf.h>
Inherits EMF::METARECORD, and EMRPOLYLINE.
Public Member Functions
EMRPOLYGON
(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
Detailed Description
EMF Filled Polygon.
Draw a filled polygon.
Constructor & Destructor Documentation
EMF::EMRPOLYGON::EMRPOLYGON (const RECTL * bounds, const POINT * points, INTn) [inline]
Parameters
bounds 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.
Parameters
ds Metafile datastream.
EMF::EMRPOLYGON::˜EMRPOLYGON () [inline]
Destructor frees a copy of the points it buffered.
Member Function Documentation
void EMF::EMRPOLYGON::execute (METAFILEDEVICECONTEXT * source, HDC dc) const[inline], [virtual]
Execute this record in the context of the given device context.
Parameters
source the device
context from which this record is taken.
dc device context for execute.
Implements EMF::METARECORD.
bool EMF::EMRPOLYGON::serialize (DATASTREAM ds) [inline], [virtual]
Parameters
ds Metafile datastream.
Implements EMF::METARECORD.
int EMF::EMRPOLYGON::size (void) const [inline], [virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
Author
Generated automatically by Doxygen for libemf from the source code.