Main Page Class Hierarchy Compound List File List Compound Members

# EMF::PALETTE Class Reference

Graphics Palette. More...

`#include <libemf.h>`

Inheritance diagram for EMF::PALETTE::

List of all members.

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

## Detailed Description

Graphics Palette.

Not entirely sure how palettes are used in general.

## Constructor & Destructor Documentation

EMF::PALETTE::PALETTE ( | const LOGPALETTE * lpalette )`[inline]`

  | Parameters:
  lpalette | the (logical?) palette definition.

## Member Function Documentation

OBJECTTYPE EMF::PALETTE::getType ( | void ) const`[inline, virtual]`

| Return the type of this object (could probably do better with RTTI()). Reimplemented from 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.
Reimplemented from EMF::GRAPHICSOBJECT.

The documentation for this class was generated from the following file:

- libemf.h