EMF::ENHMETAHEADER(3) | libemf | EMF::ENHMETAHEADER(3) |
NAME¶
EMF::ENHMETAHEADER - Enhanced Metafile Header Record.
SYNOPSIS¶
#include <libemf.h>
Inherits EMF::METARECORD, and ENHMETAHEADER.
Public Member Functions¶
ENHMETAHEADER (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 ()
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.
Constructor & Destructor Documentation¶
EMF::ENHMETAHEADER::ENHMETAHEADER (LPCWSTR description = 0) [inline]¶
Parameters
EMF::ENHMETAHEADER::~ENHMETAHEADER () [inline]¶
Destructor deletes memory allocated for description.
Member Function Documentation¶
void EMF::ENHMETAHEADER::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [virtual]¶
Execute this record in the context of the given device context.
Parameters
dc device context for execute.
Implements EMF::METARECORD.
bool EMF::ENHMETAHEADER::serialize (DATASTREAM ds) [inline], [virtual]¶
Serializing the header is an example of an extended record.
Parameters
Implements EMF::METARECORD.
int EMF::ENHMETAHEADER::size (void) const [inline], [virtual]¶
Internally computed size of this record.
Implements EMF::METARECORD.
Referenced by EMF::METAFILEDEVICECONTEXT::nextHandle().
bool EMF::ENHMETAHEADER::unserialize (DATASTREAM ds) [inline]¶
Read a header record from the datastream.
Author¶
Generated automatically by Doxygen for libemf from the source code.
Thu Jun 6 2024 23:01:07 | Version 1.0.9 |