libemf 1.0.9
EMF::EMRSETVIEWPORTORGEX Class Reference

EMF Set Viewport Origin (ex) More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSETVIEWPORTORGEX:
EMF::METARECORD

Public Member Functions

 EMRSETVIEWPORTORGEX (INT x, INT y)
 
 EMRSETVIEWPORTORGEX (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 Origin (ex)

The viewport origin is a point in device coordinates (i.e., pixels) where the viewport starts. (For example, if you want to put several different views on the same page, you might use different viewports.)

Constructor & Destructor Documentation

◆ EMRSETVIEWPORTORGEX() [1/2]

EMF::EMRSETVIEWPORTORGEX::EMRSETVIEWPORTORGEX ( INT x,
INT y )
inline
Parameters
xx position of the viewport in device coordinates
yy position of the viewport in device coordinates

◆ EMRSETVIEWPORTORGEX() [2/2]

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

Construct a SetVieportOrgEx record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

◆ execute()

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

Implements EMF::METARECORD.

◆ size()

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

Internally computed size of this record.

Implements EMF::METARECORD.


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