EMF
1.0
|
EMF Set Viewport Extents (ex) More...
#include <libemf.h>
Public Member Functions | |
EMRSETVIEWPORTEXTEX (INT cx, INT cy) | |
EMRSETVIEWPORTEXTEX (DATASTREAM &ds) | |
bool | serialize (DATASTREAM ds) |
int | size (void) const |
void | execute (METAFILEDEVICECONTEXT *, HDC dc) const |
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.
EMF::EMRSETVIEWPORTEXTEX::EMRSETVIEWPORTEXTEX | ( | INT | cx, |
INT | cy | ||
) | [inline] |
cx | 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.
ds | Metafile datastream. |
void EMF::EMRSETVIEWPORTEXTEX::execute | ( | METAFILEDEVICECONTEXT * | , |
HDC | dc | ||
) | const [inline, virtual] |
Execute this record in the context of the given device context.
source | the device context from which this record is taken. |
dc | device context for execute. |
Implements EMF::METARECORD.
bool EMF::EMRSETVIEWPORTEXTEX::serialize | ( | DATASTREAM | ds | ) | [inline, virtual] |
fp | Metafile file handle. |
Implements EMF::METARECORD.
int EMF::EMRSETVIEWPORTEXTEX::size | ( | void | ) | const [inline, virtual] |
Internally computed size of this record.
Implements EMF::METARECORD.