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::EMRSETVIEWPORTORGEX - EMF Set Viewport Origin (ex)

Author

       Generated automatically by Doxygen for libemf from the source code.

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

Constructor & Destructor Documentation

EMF::EMRSETVIEWPORTORGEX::EMRSETVIEWPORTORGEX(INTx,INTy)[inline]Parametersx x position of the viewport in device coordinates
           y y position of the viewport in device coordinates

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

       Parametersds Metafile datastream.

Detailed Description

       EMF Set Viewport Origin (ex)

       The viewport origin is a point in device coordinates (i.e., pixels) where the viewport starts. (For
       example, if you want to put several different views on the same page, you might use different viewports.)

Member Function Documentation

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

       Implements EMF::METARECORD.

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

       Implements EMF::METARECORD.

Name

       EMF::EMRSETVIEWPORTORGEX - EMF Set Viewport Origin (ex)

Synopsis

       #include <libemf.h>

       Inherits EMF::METARECORD, and EMRSETBRUSHORGEX.

   PublicMemberFunctionsEMRSETVIEWPORTORGEX (INT x, INT y)
       EMRSETVIEWPORTORGEX (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