EMF::FONT(3)
π NAME π
EMF::FONT β Graphics Font, bestie. That's the whole vibe. It's a font. For graphics. Periodt.
β¨ SYNOPSIS β¨
#include <libemf.h>
okay so first things first: this class inherits from EMF::GRAPHICSOBJECT and from EXTLOGFONTW. Two parents, one iconic baby. π
π«Ά Public Member Functions
FONT(const LOGFONTW *lfont)β makes you a brand new font object, slayOBJECTTYPE getType(void) constβ tells you what kind of object this isMETARECORD * newEMR(HDC dc, HGDIOBJ emf_handle)β spits out a fresh metarecord for this object
πΈ Public Member Functions inherited from EMF::GRAPHICSOBJECT
virtual ~GRAPHICSOBJECT()β GRAPHICSOBJECTs has a virtual destructor. (yes, plural, that's what it says, and honestly? it ate.)
π¦ Public Member Functions inherited from EMF::OBJECT
virtual ~OBJECT()β OBJECTs have a virtual destructor. every OBJECT gets one, no capOBJECT(void)β the default constructor, doing its little thing
π 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 Font.
Fonts are used for drawing text (obviously). π like, that's literally the whole job. You want text? You need a font. It's giving "foundational." It's giving "main character of every document ever."
π§ Constructor & Destructor Documentation
π EMF::FONT::FONT(const LOGFONTW * lfont) [inline]
Parameters
lfontβ the (logical?) font definition. the question mark is theirs, not mine, we're all just vibing with the uncertainty π«
π Member Function Documentation
β OBJECTTYPE EMF::FONT::getType(void) const [inline], [virtual]
Return the type of this object β and lowkey the source notes it "could probably do better with RTTI()". we love a humble function that knows it could be more. π
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. two jobs, one method, highkey efficient.
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.
πΈ Author
Generated automatically by Doxygen for libemf from the source code. (not a human, just a very diligent robot π«Ά)
Version 1.0.9 Β· Thu Jun 6 2024 23:01:07
and that's the whole page bestie, mwah πβ¨ no notes, go draw some text π
π¦ where this page comes from
- debian trixie: libemf-doc 1.0.13-8 Β· GPL-2.0-only
- ubuntu questing: libemf-doc 1.0.13-8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms