DOKK / manpages / debian 12 / libemf-doc / EMF_BRUSH.3.en
EMF::BRUSH(3) libemf EMF::BRUSH(3)

EMF::BRUSH - Graphics Brush.

#include <libemf.h>

Inherits EMF::GRAPHICSOBJECT, and LOGBRUSH.


BRUSH (const LOGBRUSH *lbrush)
OBJECTTYPE getType (void) const
METARECORD * newEMR (HDC dc, HGDIOBJ emf_handle)

Graphics Brush.

Brushes are used for filling shapes.

Parameters

lbrush the (logical?) brush definition.

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.

Generated automatically by Doxygen for libemf from the source code.

Wed Jun 29 2022 Version 1.0.9