EMF
1.0
|
EMF Poly Polygon. More...
#include <libemf.h>
Public Member Functions | |
EMRPOLYPOLYGON (const RECTL *bounds, const POINT *points, const INT *counts, UINT polygons) | |
~EMRPOLYPOLYGON () | |
EMRPOLYPOLYGON (DATASTREAM &ds) | |
bool | serialize (DATASTREAM ds) |
int | size (void) const |
void | execute (METAFILEDEVICECONTEXT *, HDC dc) const |
EMF Poly Polygon.
Draw several filled polygons.
EMF::EMRPOLYPOLYGON::EMRPOLYPOLYGON | ( | const RECTL * | bounds, |
const POINT * | points, | ||
const INT * | counts, | ||
UINT | polygons | ||
) | [inline] |
bounds | overall bounding box of polygon. |
points | array of polygon vertices. |
counts | array of number of vertices in each polygon. |
polygons | number of polygons. |
EMF::EMRPOLYPOLYGON::~EMRPOLYPOLYGON | ( | ) | [inline] |
Destructor frees a copy of the counts and points it buffered.
EMF::EMRPOLYPOLYGON::EMRPOLYPOLYGON | ( | DATASTREAM & | ds | ) | [inline] |
Construct a Polygon record from the input stream.
ds | Metafile datastream. |
void EMF::EMRPOLYPOLYGON::execute | ( | METAFILEDEVICECONTEXT * | , |
HDC | dc | ||
) | const [inline, virtual] |
Execute this record in the context of the given device context.
source | the device context from which this record is taken. |
dc | device context for execute. |
Implements EMF::METARECORD.
bool EMF::EMRPOLYPOLYGON::serialize | ( | DATASTREAM | ds | ) | [inline, virtual] |
fp | Metafile file handle. |
Implements EMF::METARECORD.
int EMF::EMRPOLYPOLYGON::size | ( | void | ) | const [inline, virtual] |
Internally computed size of this record.
Implements EMF::METARECORD.