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::EMRSETVIEWPORTEXTEX - EMF Set 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::EMRSETVIEWPORTEXTEX(3)

Constructor & Destructor Documentation

EMF::EMRSETVIEWPORTEXTEX::EMRSETVIEWPORTEXTEX(INTcx,INTcy)[inline]Parameterscx 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.

       Parametersds Metafile datastream.

Detailed Description

       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.

Member Function Documentation

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

       Implements EMF::METARECORD.

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

       Implements EMF::METARECORD.

Name

       EMF::EMRSETVIEWPORTEXTEX - EMF Set Viewport Extents (ex)

Synopsis

       #include <libemf.h>

       Inherits EMF::METARECORD, and EMRSETVIEWPORTEXTEX.

   PublicMemberFunctionsEMRSETVIEWPORTEXTEX (INT cx, INT cy)
       EMRSETVIEWPORTEXTEX (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