EMF  1.0
Public Member Functions | List of all members
EMF::BRUSH Class Reference

Graphics Brush. More...

#include <libemf.h>

Inheritance diagram for EMF::BRUSH:
EMF::GRAPHICSOBJECT EMF::OBJECT

Public Member Functions

 BRUSH (const LOGBRUSH *lbrush)
 
OBJECTTYPE getType (void) const
 
METARECORDnewEMR (HDC dc, HGDIOBJ emf_handle)
 
- Public Member Functions inherited from EMF::GRAPHICSOBJECT
virtual ~GRAPHICSOBJECT ()
 GRAPHICSOBJECTs has a virtual destructor.
 
- Public Member Functions inherited from EMF::OBJECT
virtual ~OBJECT ()
 OBJECTs have a virtual destructor.
 
 OBJECT (void)
 

Additional Inherited Members

- Public Attributes inherited from EMF::GRAPHICSOBJECT
std::map< HDC, HGDIOBJ > contexts
 
- Public Attributes inherited from EMF::OBJECT
HGDIOBJ handle
 

Detailed Description

Graphics Brush.

Brushes are used for filling shapes.

Constructor & Destructor Documentation

EMF::BRUSH::BRUSH ( const LOGBRUSH *  lbrush)
inline
Parameters
lbrushthe (logical?) brush definition.

Member Function Documentation

OBJECTTYPE EMF::BRUSH::getType ( void  ) const
inlinevirtual

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

Implements EMF::OBJECT.

METARECORD* EMF::BRUSH::newEMR ( HDC  dc,
HGDIOBJ  emf_handle 
)
inlinevirtual

Return a new metarecord for this object. And record its selection into the given device context.

Parameters
dchandle of device context into which this object is being selected.
emf_handlethe EMF handle associated with the BRUSH.

Implements EMF::GRAPHICSOBJECT.


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