EMF  1.0
Public Member Functions
EMF::EMRPOLYPOLYGON16 Class Reference

EMF Poly Polygon16. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRPOLYPOLYGON16:
EMF::METARECORD

List of all members.

Public Member Functions

 EMRPOLYPOLYGON16 (const RECTL *bounds, const POINT *points, const INT *counts, UINT polygons)
 EMRPOLYPOLYGON16 (const RECTL *bounds, const POINT16 *points, const INT *counts, UINT16 polygons)
 ~EMRPOLYPOLYGON16 ()
 EMRPOLYPOLYGON16 (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *, HDC dc) const

Detailed Description

EMF Poly Polygon16.

Draw several filled polygons (with 16-bit points).


Constructor & Destructor Documentation

EMF::EMRPOLYPOLYGON16::EMRPOLYPOLYGON16 ( const RECTL *  bounds,
const POINT *  points,
const INT *  counts,
UINT  polygons 
) [inline]
Parameters:
boundsoverall bounding box of polygon.
pointsarray of polygon vertices.
countsarray of number of vertices in each polygon.
polygonsnumber of polygons.
EMF::EMRPOLYPOLYGON16::EMRPOLYPOLYGON16 ( const RECTL *  bounds,
const POINT16 *  points,
const INT *  counts,
UINT16  polygons 
) [inline]

Additional constructor which takes a POINT16 structure.

Parameters:
boundsoverall bounding box of polygon.
pointsarray of polygon vertices.
countsarray of number of vertices in each polygon.
polygonsnumber of polygons.

Destructor frees a copy of the counts and points it buffered.

Construct a Polygon record from the input stream.

Parameters:
dsMetafile datastream.

Member Function Documentation

void EMF::EMRPOLYPOLYGON16::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::EMRPOLYPOLYGON16::serialize ( DATASTREAM  ds) [inline, virtual]
Parameters:
fpMetafile file handle.

Implements EMF::METARECORD.

int EMF::EMRPOLYPOLYGON16::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: