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

EMF Scale Window Extents (ex) More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSCALEWINDOWEXTEX:
EMF::METARECORD

Public Member Functions

 EMRSCALEWINDOWEXTEX (LONG x_num, LONG x_den, LONG y_num, LONG y_den)
 
 EMRSCALEWINDOWEXTEX (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 Scale Window Extents (ex)

The window extent is the logical coordinate size of the window. Scale the window extents by the ratios of the given values.

Constructor & Destructor Documentation

EMF::EMRSCALEWINDOWEXTEX::EMRSCALEWINDOWEXTEX ( LONG  x_num,
LONG  x_den,
LONG  y_num,
LONG  y_den 
)
inline
Parameters
x_numnumerator of x scale
x_dendenominator of x scale
y_numnumerator of y scale
y_dendenominator of y scale
EMF::EMRSCALEWINDOWEXTEX::EMRSCALEWINDOWEXTEX ( DATASTREAM ds)
inline

Construct a ScaleWindowExtEx record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

void EMF::EMRSCALEWINDOWEXTEX::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::EMRSCALEWINDOWEXTEX::serialize ( DATASTREAM  ds)
inlinevirtual
Parameters
dsMetafile datastream.

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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