logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Generated automatically by Doxygen for libemf from the source code.

Version 1.0.9                                Thu Jun 6 2024 23:01:07               EMF::EMRSCALEVIEWPORTEXTEX(3)

Constructor & Destructor Documentation

EMF::EMRSCALEVIEWPORTEXTEX::EMRSCALEVIEWPORTEXTEX(LONGx_num,LONGx_den,LONGy_num,LONGy_den)[inline]Parametersx_num numerator of x scale
           x_den denominator of x scale
           y_num numerator of y scale
           y_den denominator of y scale

   EMF::EMRSCALEVIEWPORTEXTEX::EMRSCALEVIEWPORTEXTEX(DATASTREAM&ds)[inline]
       Construct a ScaleViewportExtEx record from the input stream.

       Parametersds Metafile datastream.

Detailed Description

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

Member Function Documentation

voidEMF::EMRSCALEVIEWPORTEXTEX::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::EMRSCALEVIEWPORTEXTEX::serialize(DATASTREAMds)[inline],[virtual]Parametersds Metafile datastream.

       Implements EMF::METARECORD.

   intEMF::EMRSCALEVIEWPORTEXTEX::size(void)const[inline],[virtual]
       Internally computed size of this record.

       Implements EMF::METARECORD.

Name

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

Synopsis

       #include <libemf.h>

       Inherits EMF::METARECORD, and EMRSCALEVIEWPORTEXTEX.

   PublicMemberFunctionsEMRSCALEVIEWPORTEXTEX (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

       Public Member Functions inherited from EMF::METARECORD
       virtual ~METARECORD ()

See Also