EMF
1.0
|
EMF Palette. More...
#include <libemf.h>
Public Member Functions | |
EMRCREATEPALETTE (PALETTE *palette, HGDIOBJ handle) | |
EMRCREATEPALETTE (DATASTREAM &ds) | |
bool | serialize (DATASTREAM ds) |
int | size (void) const |
void | execute (METAFILEDEVICECONTEXT *source, HDC dc) const |
EMF Palette.
Create a new palette.
EMF::EMRCREATEPALETTE::EMRCREATEPALETTE | ( | PALETTE * | palette, |
HGDIOBJ | handle | ||
) |
Construct a CreatePalette record from the input stream.
ds | Metafile datastream. |
void EMF::EMRCREATEPALETTE::execute | ( | METAFILEDEVICECONTEXT * | source, |
HDC | dc | ||
) | const [virtual] |
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.
bool EMF::EMRCREATEPALETTE::serialize | ( | DATASTREAM | ds | ) | [inline, virtual] |
ds | Metafile datastream. |
Implements EMF::METARECORD.
int EMF::EMRCREATEPALETTE::size | ( | void | ) | const [inline, virtual] |
Internally computed size of this record.
Implements EMF::METARECORD.