EMF::PEN(3)
π 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 isMETARECORD * 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 thePEN.
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
- 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