Ubuntu Manpages

EMF::PALETTE

Graphics Palette.

#include <libemf.h>

Inherits EMF::GRAPHICSOBJECT, and tagLOGPALETTE.


PALETTE (const LOGPALETTE *lpalette)
OBJECTTYPE getType (void) const
METARECORD * newEMR (HDC dc, HGDIOBJ emf_handle)

Graphics Palette.

Not entirely sure how palettes are used in general.

Parameters

lpalette the (logical?) palette definition.

Return the type of this object (could probably do better with RTTI()).

Implements EMF::OBJECT.

METARECORD* EMF::PALETTE::newEMR (HDC dc, HGDIOBJ emf_handle) [inline], [virtual]

Return a new metarecord for this object. And record its selection into the given device context.

Parameters

dc handle of device context into which this object is being selected.
emf_handle the EMF handle associated with the FONT.

Implements EMF::GRAPHICSOBJECT.

References EMF::GRAPHICSOBJECT::contexts.

Generated automatically by Doxygen for libemf from the source code.