EMF  1.0
Public Member Functions
EMF::EMRSETWINDOWEXTEX Class Reference

EMF Set Window Extent (ex) More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSETWINDOWEXTEX:
EMF::METARECORD

List of all members.

Public Member Functions

 EMRSETWINDOWEXTEX (INT cx, INT cy)
 EMRSETWINDOWEXTEX (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *, HDC dc) const

Detailed Description

EMF Set Window Extent (ex)

The window extents define the scale of the logical coordinates. For example, if your XY plot is from [-10,-10] to [10,10], then the window extents are [20,20].


Constructor & Destructor Documentation

EMF::EMRSETWINDOWEXTEX::EMRSETWINDOWEXTEX ( INT  cx,
INT  cy 
) [inline]
Parameters:
cxwidth of window in logical coordinates.
cyheight of window in logical coordinates.

Construct a SetWindowExtEx record from the input stream.

Parameters:
dsMetafile datastream.

Member Function Documentation

void EMF::EMRSETWINDOWEXTEX::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::EMRSETWINDOWEXTEX::serialize ( DATASTREAM  ds) [inline, virtual]
Parameters:
fpMetafile file handle.

Implements EMF::METARECORD.

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