Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EMF::EMRPOLYLINE Class Reference

EMF Polyline. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRPOLYLINE::

EMF::METARECORD List of all members.

Public Methods

 EMRPOLYLINE (const RECTL *bounds, const POINT *points, INT n)
 ~EMRPOLYLINE ()
 EMRPOLYLINE (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *, HDC dc) const

Detailed Description

EMF Polyline.

Draw a series of connected lines.


Constructor & Destructor Documentation

EMF::EMRPOLYLINE::EMRPOLYLINE ( const RECTL * bounds,
const POINT * points,
INT n ) [inline]
 

Parameters:
bounds   overall bounding box of polyline.
points   array of polyline vertices.
n   number of vertices in points.

EMF::EMRPOLYLINE::~EMRPOLYLINE ( ) [inline]
 

Destructor frees a copy of the points it buffered.

EMF::EMRPOLYLINE::EMRPOLYLINE ( DATASTREAM & ds ) [inline]
 

Construct a Polyline record from the input stream.

Parameters:
ds   Metafile datastream.


Member Function Documentation

void EMF::EMRPOLYLINE::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.

Reimplemented from EMF::METARECORD.

bool EMF::EMRPOLYLINE::serialize ( DATASTREAM ds ) [inline, virtual]
 

Parameters:
fp   Metafile file handle.

Reimplemented from EMF::METARECORD.

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

Parameters:
fp   Metafile file handle.

Reimplemented from EMF::METARECORD.


The documentation for this class was generated from the following file:
Generated at Mon Jan 13 21:34:19 2003 for EMF by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001