EMF::BRUSH(3)
π EMF::BRUSH π
okay bestie, so this is EMF::BRUSH from libemf, section 3 of the manual β the Graphics Brush page. it's giving "tiny class, huge main character energy," and honestly? obsessed. let's get into it. π
β¨ NAME β¨
EMF::BRUSH β Graphics Brush. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <libemf.h>
it inherits from EMF::GRAPHICSOBJECT, and also from LOGBRUSH. yes, both. it's a nepo baby, we love that for it. π
π¦ Public Member Functions
BRUSH(const LOGBRUSH *lbrush)β the constructor, obvsOBJECTTYPE getType (void) constβ tells you what type of object this isMETARECORD * newEMR (HDC dc, HGDIOBJ emf_handle)β makes a fresh metarecord and logs its selection into the device context
π§ Public Member Functions inherited from EMF::GRAPHICSOBJECT
virtual ~GRAPHICSOBJECT ()β GRAPHICSOBJECTs has a virtual destructor. periodt.
π Public Member Functions inherited from EMF::OBJECT
virtual ~OBJECT ()β OBJECTs have a virtual destructor. iconic behaviour tbh.OBJECT (void)
π 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 Brush.
Brushes are used for filling shapes. that's their whole job, and they eat every single time. no notes. π₯
π Constructor & Destructor Documentation π
β EMF::BRUSH::BRUSH (const LOGBRUSH * lbrush) [inline]
Parameters
lbrushβ the (logical?) brush definition. yes bestie, the question mark is canon, it's in the source, I don't make the rules. π
β¨ Member Function Documentation β¨
π OBJECTTYPE EMF::BRUSH::getType (void) const [inline], [virtual]
Return the type of this object (could probably do better with RTTI()). like, it works, but it's lowkey humble-bragging about being able to do better. we see you. π
Implements EMF::OBJECT.
π¦ METARECORD * EMF::BRUSH::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 theBRUSH.
Implements EMF::GRAPHICSOBJECT.
References EMF::GRAPHICSOBJECT::contexts.
π Author π
Generated automatically by Doxygen for libemf from the source code. so technically the author is a robot and not a girlie, but the robot slayed. π€β¨
okay that's the whole page bestie!! π version 1.0.9, dated Thu Jun 6 2024 23:01:07 β screenshot it, cite it, live laugh love it. mwah. π«ΆππΈ
π¦ 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