EMF  1.0
Public Member Functions
EMF::EMRRECTANGLE Class Reference

EMF Rectangle. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRRECTANGLE:
EMF::METARECORD

List of all members.

Public Member Functions

 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:
leftx position of left side of rectangle.
topy position of top side of rectangle.
rightx position of right edge of rectangle.
bottomy position of bottom edge of rectangle.

Construct a Rectangle record from the input stream.

Parameters:
dsMetafile datastream.

Member Function Documentation

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

Implements EMF::METARECORD.

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