DOKK / manpages / debian 11 / libemf-doc / EMF_PEN.3.en
EMF::PEN(3) libemf EMF::PEN(3)

EMF::PEN - Graphics Pen.

#include <libemf.h>

Inherits EMF::GRAPHICSOBJECT, and LOGPEN.


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

Graphics Pen.

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

Parameters

lpen the (logical?) pen definition.

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

Implements 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.

Implements EMF::GRAPHICSOBJECT.

References EMF::GRAPHICSOBJECT::contexts.

Generated automatically by Doxygen for libemf from the source code.

Tue Jun 30 2020 Version 1.0.9