| EMF
    1.0
    | 
A global graphics object. More...
#include <libemf.h>
 
  
 | Public Member Functions | |
| virtual | ~GRAPHICSOBJECT () | 
| GRAPHICSOBJECTs has a virtual destructor. | |
| virtual METARECORD * | newEMR (HDC dc, HGDIOBJ handle)=0 | 
|  Public Member Functions inherited from EMF::OBJECT | |
| virtual | ~OBJECT () | 
| OBJECTs have a virtual destructor. | |
| OBJECT (void) | |
| virtual OBJECTTYPE | getType (void) const =0 | 
| Public Attributes | |
| std::map< HDC, HGDIOBJ > | contexts | 
|  Public Attributes inherited from EMF::OBJECT | |
| HGDIOBJ | handle | 
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.
| 
 | pure virtual | 
Create a new metarecord which describes this object.
| dc | the handle to the device context. | 
| handle | (appears not to used. Note the handle is really assigned at serialization time.) | 
Implemented in EMF::PALETTE, EMF::FONT, EMF::BRUSH, EMF::EXTPEN, and EMF::PEN.
| 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.
 1.8.11
 1.8.11