Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EMF::OBJECT Class Reference

Global GDI object. More...

#include <libemf.h>

Inheritance diagram for EMF::OBJECT::

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

Public Methods

virtual ~OBJECT ()
 OBJECTs have a virtual destructor.

 OBJECT (void)
virtual OBJECTTYPE getType (void) const=0

Public Attributes

HGDIOBJ handle
 The handle of a GDI object.


Detailed Description

Global GDI object.

The GDI interface defines objects in terms of handles (rather than pointers). In order to emulate this, each object is placed into a global list and the index in that list becomes their handle.


Constructor & Destructor Documentation

EMF::OBJECT::OBJECT ( void ) [inline]
 

Create a new object. It's up to a subclass to create a real handle for this object.


Member Function Documentation

OBJECTTYPE EMF::OBJECT::getType ( void ) const [pure virtual]
 

Return the type of the object.

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


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