.TH "EMF::EMRSCALEVIEWPORTEXTEX" 3 "Fri Nov 2 2018" "Version 1.0.9" "libemf" \" -*- nroff -*- .ad l .nh .SH NAME EMF::EMRSCALEVIEWPORTEXTEX \- EMF Scale Viewport Extents (ex) .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBEMF::METARECORD\fP, and EMRSCALEVIEWPORTEXTEX\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBEMRSCALEVIEWPORTEXTEX\fP (LONG x_num, LONG x_den, LONG y_num, LONG y_den)" .br .ti -1c .RI "\fBEMRSCALEVIEWPORTEXTEX\fP (\fBDATASTREAM\fP &ds)" .br .ti -1c .RI "bool \fBserialize\fP (\fBDATASTREAM\fP ds)" .br .ti -1c .RI "int \fBsize\fP (void) const" .br .ti -1c .RI "void \fBexecute\fP (\fBMETAFILEDEVICECONTEXT\fP *source, HDC dc) const" .br .in -1c .SH "Detailed Description" .PP EMF Scale Viewport Extents (ex) The viewport extent is the device coordinate (i\&.e\&. pixels) size of the viewport\&. Scale the viewport extents by the ratios of the given values\&. (OpenOffice accepts this, but not SETVIEWPORTEXT(?)) .SH "Constructor & Destructor Documentation" .PP .SS "EMF::EMRSCALEVIEWPORTEXTEX::EMRSCALEVIEWPORTEXTEX (LONG x_num, LONG x_den, LONG y_num, LONG y_den)\fC [inline]\fP" .PP \fBParameters:\fP .RS 4 \fIx_num\fP numerator of x scale .br \fIx_den\fP denominator of x scale .br \fIy_num\fP numerator of y scale .br \fIy_den\fP denominator of y scale .RE .PP .SS "EMF::EMRSCALEVIEWPORTEXTEX::EMRSCALEVIEWPORTEXTEX (\fBDATASTREAM\fP & ds)\fC [inline]\fP" Construct a ScaleViewportExtEx record from the input stream\&. .PP \fBParameters:\fP .RS 4 \fIds\fP Metafile datastream\&. .RE .PP .SH "Member Function Documentation" .PP .SS "void EMF::EMRSCALEVIEWPORTEXTEX::execute (\fBMETAFILEDEVICECONTEXT\fP * source, HDC dc) const\fC [inline]\fP, \fC [virtual]\fP" Execute this record in the context of the given device context\&. .PP \fBParameters:\fP .RS 4 \fIsource\fP the device context from which this record is taken\&. .br \fIdc\fP device context for execute\&. .RE .PP .PP Implements \fBEMF::METARECORD\fP\&. .SS "bool EMF::EMRSCALEVIEWPORTEXTEX::serialize (\fBDATASTREAM\fP ds)\fC [inline]\fP, \fC [virtual]\fP" .PP \fBParameters:\fP .RS 4 \fIds\fP Metafile datastream\&. .RE .PP .PP Implements \fBEMF::METARECORD\fP\&. .SS "int EMF::EMRSCALEVIEWPORTEXTEX::size (void) const\fC [inline]\fP, \fC [virtual]\fP" Internally computed size of this record\&. .PP Implements \fBEMF::METARECORD\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libemf from the source code\&.