EMF  1.0
Public Member Functions
EMF::EMRCREATEPEN Class Reference

EMF Pen. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRCREATEPEN:
EMF::METARECORD

List of all members.

Public Member Functions

 EMRCREATEPEN (PEN *pen, HGDIOBJ handle)
 EMRCREATEPEN (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *source, HDC dc) const

Detailed Description

EMF Pen.

Create a new pen (used for drawing lines, arcs, rectangles, etc.).


Constructor & Destructor Documentation

EMF::EMRCREATEPEN::EMRCREATEPEN ( PEN pen,
HGDIOBJ  handle 
)
Parameters:
penan instance of a PEN object.
handlethe PEN object's handle.

Construct a CreatePen record from the input stream.

Parameters:
dsMetafile datastream.

Member Function Documentation

void EMF::EMRCREATEPEN::execute ( METAFILEDEVICECONTEXT source,
HDC  dc 
) const [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::EMRCREATEPEN::serialize ( DATASTREAM  ds) [inline, virtual]
Parameters:
dsMetafile datastream.

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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