EMF::PEN(3)

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

πŸ’– NAME πŸ’–

EMF::PEN β€” Graphics Pen. That's the whole name, that's the whole vibe, and honestly? Iconic. πŸ‘‘


✨ SYNOPSIS ✨

#include <libemf.h>

Inherits EMF::GRAPHICSOBJECT, and LOGPEN. So it's a nepo baby in the cutest way possible πŸ’…

πŸŽ€ Public Member Functions πŸŽ€

  • PEN (const LOGPEN *lpen) β€” builds you a fresh pen, bestie ✨
  • OBJECTTYPE getType (void) const β€” tells you what kind of object this is
  • METARECORD * newEMR (HDC dc, HGDIOBJ emf_handle) β€” spits out a brand new metarecord for this object

🫢 Public Member Functions inherited from EMF::GRAPHICSOBJECT 🫢

  • virtual ~GRAPHICSOBJECT () β€” GRAPHICSOBJECTs has a virtual destructor. (yes that grammar is theirs, not mine, I'm just the messenger 😭)

πŸ¦‹ Public Member Functions inherited from EMF::OBJECT πŸ¦‹

  • virtual ~OBJECT () β€” OBJECTs have a virtual destructor.
  • OBJECT (void) β€” the default no-arg constructor, living its simple little life.

🌈 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 Pen.

Pens are used for drawing lines, arc, rectangles, etc. Like, pens are THE moment when you need a stroke of literally anything β€” line, arc, rectangle β€” pen said "say less" πŸ’«


πŸ’… Constructor & Destructor Documentation πŸ’…

EMF::PEN::PEN (const LOGPEN * lpen) [inline]

Parameters

  • lpen β€” the (logical?) pen definition. Yes, the question mark is theirs, the confusion is canon, we're keeping it 🫢

πŸ”₯ Member Function Documentation πŸ”₯

OBJECTTYPE EMF::PEN::getType (void) const [inline], [virtual]

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

Implements EMF::OBJECT.

Not me side-eyeing that parenthetical, but okay, we're keeping it exactly as written, no cap πŸ™ˆ

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.


🌟 Author 🌟

Generated automatically by Doxygen for libemf from the source code. So like, no human hand wrote this, the robot did, and the robot ate πŸ’€βœ¨


Okay bestie, that's the whole page β€” this was Version 1.0.9, dated Thu Jun 6 2024 23:01:07, living under the libemf manual, and you can find it filed under EMF::PEN(3). Go forth and draw your little lines, arcs and rectangles, you main character πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from