Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EMF::GRAPHICSOBJECT Class Reference

A global graphics object. More...

#include <libemf.h>

Inheritance diagram for EMF::GRAPHICSOBJECT::

EMF::OBJECT EMF::BRUSH EMF::EXTPEN EMF::FONT EMF::PALETTE EMF::PEN List of all members.

Public Methods

virtual ~GRAPHICSOBJECT ()
 GRAPHICSOBJECTs has a virtual destructor.

virtual METARECORDnewEMR (HDC dc, HGDIOBJ handle)=0

Public Attributes

std::map< HDC, HGDIOBJ > contexts

Detailed Description

A global graphics object.

Graphics objects have some additional properties: When an object is Select'ed into a device context, the handle for that context is added to the list of context's in which this object is used.


Member Function Documentation

METARECORD * EMF::GRAPHICSOBJECT::newEMR ( HDC dc,
HGDIOBJ emf_handle ) [pure virtual]
 

Create a new metarecord which describes this object.

Parameters:
handle   (appears not to used. Note the handle is really assigned at serialization time.)

Reimplemented in EMF::PEN, EMF::EXTPEN, EMF::BRUSH, EMF::FONT, and EMF::PALETTE.


Member Data Documentation

std::map< HDC, HGDIOBJ > EMF::GRAPHICSOBJECT::contexts
 

A set of all the contexts into which this object has been selected and the associated metafile handle for the object.


The documentation for this class was generated from the following file:
Generated at Mon Jan 13 21:34:19 2003 for EMF by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001