EMF::EMRSETVIEWPORTEXTEX - EMF Set Viewport Extents (ex)
Contents
Constructor & Destructor Documentation
EMF::EMRSETVIEWPORTEXTEX::EMRSETVIEWPORTEXTEX(INTcx,INTcy)[inline]Parameterscx width of viewport in device coordinates
cy height of viewport in device coordinates
EMF::EMRSETVIEWPORTEXTEX::EMRSETVIEWPORTEXTEX(DATASTREAM&ds)[inline]
Construct a SetViewportExtEx record from the input stream.
Parametersds Metafile datastream.
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.
Member Function Documentation
voidEMF::EMRSETVIEWPORTEXTEX::execute(METAFILEDEVICECONTEXT*source,HDCdc)const[inline],[virtual]
Execute this record in the context of the given device context.
Parameterssource the device context from which this record is taken.
dc device context for execute.
Implements EMF::METARECORD.
boolEMF::EMRSETVIEWPORTEXTEX::serialize(DATASTREAMds)[inline],[virtual]Parametersds Metafile datastream.
Implements EMF::METARECORD.
intEMF::EMRSETVIEWPORTEXTEX::size(void)const[inline],[virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
Name
EMF::EMRSETVIEWPORTEXTEX - EMF Set Viewport Extents (ex)
Synopsis
#include <libemf.h>
Inherits EMF::METARECORD, and EMRSETVIEWPORTEXTEX.
PublicMemberFunctionsEMRSETVIEWPORTEXTEX (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 ()
