DOKK / manpages / debian 10 / libemf-doc / EMF_EMRCREATEPALETTE.3.en
EMF::EMRCREATEPALETTE(3) libemf EMF::EMRCREATEPALETTE(3)

EMF::EMRCREATEPALETTE - EMF Palette.

#include <libemf.h>

Inherits EMF::METARECORD, and EMRCREATEPALETTE.


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.

Parameters:

palette an instance of a PALETTE object.
handle the PALETTE object's handle.

Construct a CreatePalette record from the input stream.

Parameters:

ds Metafile datastream.

Execute this record in the context of the given device context.

Parameters:

source the device context from which this record is taken.
dc device context for execute.

Implements EMF::METARECORD.

References EMF::GLOBALOBJECTS::add(), EMF::METAFILEDEVICECONTEXT::appendHandle(), EMF::METAFILEDEVICECONTEXT::appendRecord(), EMF::METAFILEDEVICECONTEXT::bk_color, EMF::METAFILEDEVICECONTEXT::bk_mode, EMF::METAFILEDEVICECONTEXT::brush, EMF::METAFILEDEVICECONTEXT::clearHandle(), EMF::GRAPHICSOBJECT::contexts, EMF::METAFILEDEVICECONTEXT::deleteMetafile(), EMF::METAFILEDEVICECONTEXT::ds, EMF::METAFILEDEVICECONTEXT::emf_handles, EMF::GLOBALOBJECTS::find(), EMF::METAFILEDEVICECONTEXT::font, EMF::METAFILEDEVICECONTEXT::fp, EMF::OBJECT::getType(), EMF::OBJECT::handle, EMF::METAFILEDEVICECONTEXT::header, EMF::METAFILEDEVICECONTEXT::map_mode, EMF::METAFILEDEVICECONTEXT::mergePoint(), EMF::METAFILEDEVICECONTEXT::miter_limit, EMF::GRAPHICSOBJECT::newEMR(), EMF::GLOBALOBJECTS::newRecord(), EMF::METAFILEDEVICECONTEXT::nextHandle(), EMF::METAFILEDEVICECONTEXT::palette, EMF::METAFILEDEVICECONTEXT::pen, EMF::METAFILEDEVICECONTEXT::point, EMF::METAFILEDEVICECONTEXT::polyfill_mode, EMF::METAFILEDEVICECONTEXT::records, EMF::GLOBALOBJECTS::remove(), EMF::METAFILEDEVICECONTEXT::resolution, EMF::METARECORD::serialize(), EMF::METAFILEDEVICECONTEXT::text_alignment, EMF::METAFILEDEVICECONTEXT::text_color, EMF::ENHMETAHEADER::unserialize(), EMF::METAFILEDEVICECONTEXT::viewport_ext, EMF::METAFILEDEVICECONTEXT::viewport_org, EMF::METAFILEDEVICECONTEXT::window_ext, and EMF::METAFILEDEVICECONTEXT::window_org.

Parameters:

ds Metafile datastream.

Implements EMF::METARECORD.

Internally computed size of this record.

Implements EMF::METARECORD.

Generated automatically by Doxygen for libemf from the source code.

Fri Nov 2 2018 Version 1.0.9