EMF  1.0
Public Member Functions
EMF::EMRPOLYGON Class Reference

EMF Filled Polygon. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRPOLYGON:
EMF::METARECORD

List of all members.

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 *, HDC dc) const

Detailed Description

EMF Filled Polygon.

Draw a filled polygon.


Constructor & Destructor Documentation

EMF::EMRPOLYGON::EMRPOLYGON ( const RECTL *  bounds,
const POINT *  points,
INT  n 
) [inline]
Parameters:
boundsoverall bounding box of polygon.
pointsarray of polygon vertices.
nnumber of vertices in points.

Construct a Polygon record from the input stream.

Parameters:
dsMetafile datastream.

Destructor frees a copy of the points it buffered.


Member Function Documentation

void EMF::EMRPOLYGON::execute ( METAFILEDEVICECONTEXT ,
HDC  dc 
) const [inline, virtual]

Execute this record in the context of the given device context.

Parameters:
sourcethe device context from which this record is taken.
dcdevice context for execute.

Implements EMF::METARECORD.

bool EMF::EMRPOLYGON::serialize ( DATASTREAM  ds) [inline, virtual]
Parameters:
fpMetafile file handle.

Implements EMF::METARECORD.

int EMF::EMRPOLYGON::size ( void  ) const [inline, virtual]

Internally computed size of this record.

Implements EMF::METARECORD.


The documentation for this class was generated from the following file: