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

EMF Set Viewport Extents (ex) More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSETVIEWPORTEXTEX:
EMF::METARECORD

Public Member Functions

 EMRSETVIEWPORTEXTEX (INT cx, INT cy)
 
 EMRSETVIEWPORTEXTEX (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 Set Viewport Extents (ex)

The viewport extent is the device coordinate (i.e. pixels) size of the viewport. Since W32 doesn't do any clipping, the purpose of this is not clear.

Constructor & Destructor Documentation

EMF::EMRSETVIEWPORTEXTEX::EMRSETVIEWPORTEXTEX ( INT  cx,
INT  cy 
)
inline
Parameters
cxwidth of viewport in device coordinates
cyheight of viewport in device coordinates
EMF::EMRSETVIEWPORTEXTEX::EMRSETVIEWPORTEXTEX ( DATASTREAM ds)
inline

Construct a SetViewportExtEx record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

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

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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