libemf 1.0.9
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

◆ EMRRECTANGLE() [1/2]

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.

References EMRRECTANGLE().

Referenced by EMRRECTANGLE().

◆ EMRRECTANGLE() [2/2]

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

Construct a Rectangle record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

◆ execute()

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.

◆ serialize()

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

Implements EMF::METARECORD.

◆ size()

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: