|
EMF
1.0
|
Enhanced Metafile Header Record. More...
#include <libemf.h>
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 () |
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.
|
inline |
| description | 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. |
|
inline |
Destructor deletes memory allocated for description.
|
inlinevirtual |
Execute this record in the context of the given device context.
| source | the device context from which this record is taken. |
| dc | device context for execute. |
Implements EMF::METARECORD.
|
inlinevirtual |
Serializing the header is an example of an extended record.
| ds | Metafile datastream. |
Implements EMF::METARECORD.
|
inlinevirtual |
Internally computed size of this record.
Implements EMF::METARECORD.
|
inline |
Read a header record from the datastream.
1.8.6