libemf 1.0.9
Public Member Functions
EMF::EMRPOLYLINE Class Reference

EMF Polyline. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRPOLYLINE:
EMF::METARECORD

Public Member Functions

 EMRPOLYLINE (const RECTL *bounds, const POINT *points, INT n)
 
 ~EMRPOLYLINE ()
 
 EMRPOLYLINE (DATASTREAM &ds)
 
bool serialize (DATASTREAM ds)
 
int size (void) const
 
void execute (METAFILEDEVICECONTEXT *source, HDC dc) const
 
- Public Member Functions inherited from EMF::METARECORD
virtual void execute (METAFILEDEVICECONTEXT *source, HDC dc) const =0
 
virtual bool serialize (DATASTREAM ds)=0
 
virtual int size (void) const =0
 
virtual ~METARECORD ()
 

Detailed Description

EMF Polyline.

Draw a series of connected lines.

Constructor & Destructor Documentation

◆ EMRPOLYLINE() [1/2]

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

References EMRPOLYLINE().

Referenced by EMRPOLYLINE().

◆ ~EMRPOLYLINE()

EMF::EMRPOLYLINE::~EMRPOLYLINE ( )
inline

Destructor frees a copy of the points it buffered.

◆ EMRPOLYLINE() [2/2]

EMF::EMRPOLYLINE::EMRPOLYLINE ( DATASTREAM ds)
inline

Construct a Polyline record from the input stream.

Parameters
dsMetafile datastream.

References EMRPOLYLINE().

Member Function Documentation

◆ execute()

void EMF::EMRPOLYLINE::execute ( METAFILEDEVICECONTEXT source,
HDC  dc 
) const
inlinevirtual

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.

◆ serialize()

bool EMF::EMRPOLYLINE::serialize ( DATASTREAM  ds)
inlinevirtual
Parameters
dsMetafile datastream.

Implements EMF::METARECORD.

◆ size()

int EMF::EMRPOLYLINE::size ( void  ) const
inlinevirtual

Internally computed size of this record.

Implements EMF::METARECORD.


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