EMF::EMRCREATEPALETTE - EMF Palette.
Contents
Constructor & Destructor Documentation
EMRCREATEPALETTE::EMRCREATEPALETTE(PALETTE*palette,HGDIOBJhandle)Parameterspalette an instance of a PALETTE object.
handle the PALETTE object's handle.
EMF::EMRCREATEPALETTE::EMRCREATEPALETTE(DATASTREAM&ds)
Construct a CreatePalette record from the input stream.
Parametersds Metafile datastream.
Detailed Description
EMF Palette.
Create a new palette.
Member Function Documentation
voidEMRCREATEPALETTE::execute(METAFILEDEVICECONTEXT*source,HDCdc)const[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::EMRCREATEPALETTE::serialize(DATASTREAMds)[inline],[virtual]Parametersds Metafile datastream.
Implements EMF::METARECORD.
intEMF::EMRCREATEPALETTE::size(void)const[inline],[virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
Name
EMF::EMRCREATEPALETTE - EMF Palette.
Synopsis
#include <libemf.h>
Inherits EMF::METARECORD, and EMRCREATEPALETTE.
PublicMemberFunctionsEMRCREATEPALETTE (PALETTE *palette, HGDIOBJ handle)
EMRCREATEPALETTE (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 ()
