EMF::FONT(3)

πŸ“¦
version 1.0.13 Β· 5 versions
, in debian trixie, ubuntu questing

πŸ’– 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, slay
  • OBJECTTYPE getType(void) const β€” tells you what kind of object this is
  • METARECORD * 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 cap
  • OBJECT(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