EMF  1.0
Public Member Functions | List of all members
EMF::EMRRECTANGLE Class Reference

EMF Rectangle. More...

#include <libemf.h>

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

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 *source, HDC dc) const
 
- Public Member Functions inherited from EMF::METARECORD
virtual ~METARECORD ()
 

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.
EMF::EMRRECTANGLE::EMRRECTANGLE ( DATASTREAM ds)
inline

Construct a Rectangle record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

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

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

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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