Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EMF::EMRRECTANGLE Class Reference

EMF Rectangle. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRRECTANGLE::

EMF::METARECORD List of all members.

Public Methods

 EMRRECTANGLE (INT left, INT top, INT right, INT bottom)
 EMRRECTANGLE (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *, HDC dc) const

Detailed Description

EMF Rectangle.

Draw a rectangle.


Constructor & Destructor Documentation

EMF::EMRRECTANGLE::EMRRECTANGLE ( INT left,
INT top,
INT right,
INT bottom ) [inline]
 

Parameters:
left   x position of left side of rectangle.
top   y position of top side of rectangle.
right   x position of right edge of rectangle.
bottom   y position of bottom edge of rectangle.

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

Construct a Rectangle record from the input stream.

Parameters:
ds   Metafile datastream.


Member Function Documentation

void EMF::EMRRECTANGLE::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::EMRRECTANGLE::serialize ( DATASTREAM ds ) [inline, virtual]
 

Parameters:
ds   Metafile datastream.

Reimplemented from EMF::METARECORD.

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

Internally computed size of this record.

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