EMF::BRUSH(3)

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

πŸ’– 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, obvs
  • OBJECTTYPE getType (void) const β€” tells you what type of object this is
  • METARECORD * 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 the BRUSH.

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