DOKK / manpages / debian 12 / libemf-doc / EMF_FONT.3.en
EMF::FONT(3) libemf EMF::FONT(3)

EMF::FONT - Graphics Font.

#include <libemf.h>

Inherits EMF::GRAPHICSOBJECT, and EXTLOGFONTW.


FONT (const LOGFONTW *lfont)
OBJECTTYPE getType (void) const
METARECORD * newEMR (HDC dc, HGDIOBJ emf_handle)

Graphics Font.

Fonts are used for drawing text (obviously).

Parameters

lfont the (logical?) font definition.

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

Implements EMF::OBJECT.

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

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