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::ENHMETAHEADER - Enhanced Metafile Header Record.

Author

       Generated automatically by Doxygen for libemf from the source code.

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

Constructor & Destructor Documentation

EMF::ENHMETAHEADER::ENHMETAHEADER(LPCWSTRdescription=0)[inline]Parametersdescription an optional description argument is a UNICODE-like string with the following format:
           'some text\0some more text\0\0'. The W32 interface defines UNICODE characters to be two-byte
           (unsigned short strings). The constructor makes a copy of the argument.

   EMF::ENHMETAHEADER::~ENHMETAHEADER()[inline]
       Destructor deletes memory allocated for description.

Detailed Description

       Enhanced Metafile Header Record.

       The ENHMETAHEADER serves two purposes in this library: it keeps track of the size of the metafile (in
       physical dimensions) and number of records and handles that are ultimately to be written to the disk
       file. It is also a real record that must be written out.

Member Function Documentation

voidEMF::ENHMETAHEADER::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::ENHMETAHEADER::serialize(DATASTREAMds)[inline],[virtual]
       Serializing the header is an example of an extended record.

       Parametersds Metafile datastream.

       Implements EMF::METARECORD.

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

       Implements EMF::METARECORD.

       Referenced by EMF::METAFILEDEVICECONTEXT::nextHandle().

   boolEMF::ENHMETAHEADER::unserialize(DATASTREAMds)[inline]
       Read a header record from the datastream.

Name

       EMF::ENHMETAHEADER - Enhanced Metafile Header Record.

Synopsis

       #include <libemf.h>

       Inherits EMF::METARECORD, and ENHMETAHEADER.

   PublicMemberFunctionsENHMETAHEADER (LPCWSTR description=0)
       ~ENHMETAHEADER ()
       bool serialize (DATASTREAM ds)
       bool unserialize (DATASTREAM ds)
       int size (void) const
       void execute (METAFILEDEVICECONTEXT *source, HDC dc) const

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

See Also