DOKK / manpages / debian 10 / libemf-doc / EMF_EMRSCALEVIEWPORTEXTEX.3.en
EMF::EMRSCALEVIEWPORTEXTEX(3) libemf EMF::EMRSCALEVIEWPORTEXTEX(3)

EMF::EMRSCALEVIEWPORTEXTEX - EMF Scale Viewport Extents (ex)

#include <libemf.h>

Inherits EMF::METARECORD, and EMRSCALEVIEWPORTEXTEX.


EMRSCALEVIEWPORTEXTEX (LONG x_num, LONG x_den, LONG y_num, LONG y_den)
EMRSCALEVIEWPORTEXTEX (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *source, HDC dc) const

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(?))

Parameters:

x_num numerator of x scale
x_den denominator of x scale
y_num numerator of y scale
y_den denominator of y scale

Construct a ScaleViewportExtEx record from the input stream.

Parameters:

ds Metafile datastream.

Execute this record in the context of the given device context.

Parameters:

source the device context from which this record is taken.
dc device context for execute.

Implements EMF::METARECORD.

Parameters:

ds Metafile datastream.

Implements EMF::METARECORD.

Internally computed size of this record.

Implements EMF::METARECORD.

Generated automatically by Doxygen for libemf from the source code.

Fri Nov 2 2018 Version 1.0.9