Scroll to navigation

EMF::BRUSH(3) libemf EMF::BRUSH(3)

NAME

EMF::BRUSH - Graphics Brush.

SYNOPSIS

#include <libemf.h>

Inherits EMF::GRAPHICSOBJECT, and LOGBRUSH.

Public Member Functions


BRUSH (const LOGBRUSH *lbrush)
OBJECTTYPE getType (void) const
METARECORD * newEMR (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

Data Fields inherited from EMF::GRAPHICSOBJECT
std::map< HDC, HGDIOBJ > contexts

Data Fields 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

lbrush the (logical?) brush definition.

Member Function Documentation

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

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

Implements EMF::OBJECT.

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

Implements EMF::GRAPHICSOBJECT.

References EMF::GRAPHICSOBJECT::contexts.

Author

Generated automatically by Doxygen for libemf from the source code.

Thu Nov 30 2023 23:30:32 Version 1.0.9