Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EMF::PEN Class Reference

Graphics Pen. More...

#include <libemf.h>

Inheritance diagram for EMF::PEN::

EMF::GRAPHICSOBJECT EMF::OBJECT List of all members.

Public Methods

 PEN (const LOGPEN *lpen)
OBJECTTYPE getType (void) const
METARECORDnewEMR (HDC dc, HGDIOBJ emf_handle)

Detailed Description

Graphics Pen.

Pens are used for drawing lines, arc, rectangles, etc.


Constructor & Destructor Documentation

EMF::PEN::PEN ( const LOGPEN * lpen ) [inline]
 

Parameters:
lpen   the (logical?) pen definition.


Member Function Documentation

OBJECTTYPE EMF::PEN::getType ( void ) const [inline, virtual]
 

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

Reimplemented from EMF::OBJECT.

METARECORD * EMF::PEN::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 PEN.

Reimplemented from EMF::GRAPHICSOBJECT.


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