EMF::PALETTE(3)

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

πŸ’– NAME πŸ’–

EMF::PALETTE β€” Graphics Palette. that's it, that's the whole vibe bestie πŸ’…


🌸 SYNOPSIS 🌸

okay so first things first, you gotta pull in the header:

#include <libemf.h>

It inherits EMF::GRAPHICSOBJECT, and also tagLOGPALETTE. iconic lineage tbh πŸ‘‘

✨ Public Member Functions ✨

  • PALETTE (const LOGPALETTE *lpalette)
  • OBJECTTYPE getType (void) const
  • METARECORD * newEMR (HDC dc, HGDIOBJ emf_handle)

🫢 Public Member Functions inherited from EMF::GRAPHICSOBJECT 🫢

  • virtual ~GRAPHICSOBJECT ()
    • GRAPHICSOBJECTs has a virtual destructor.

🫢 Public Member Functions inherited from EMF::OBJECT 🫢

  • virtual ~OBJECT ()
    • OBJECTs have a virtual destructor.
  • 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 Palette.

Not entirely sure how palettes are used in general. πŸ’€ yeah the docs are just as confused as we are, no cap.


πŸŽ€ CONSTRUCTOR & DESTRUCTOR DOCUMENTATION πŸŽ€

EMF::PALETTE::PALETTE (const LOGPALETTE * lpalette) [inline]

Parameters

  • lpalette β€” the (logical?) palette definition. the question mark is doing SO much heavy lifting here, bestie 😭

πŸ‘‘ MEMBER FUNCTION DOCUMENTATION πŸ‘‘

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

Return the type of this object (could probably do better with RTTI()). the author said "could probably do better" and honestly? relatable. self-aware king πŸ‘‘

Implements EMF::OBJECT.

METARECORD * EMF::PALETTE::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 FONT. (yes, it says FONT. on a palette page. we don't make the rules, we just transcribe them πŸ’€)

Implements EMF::GRAPHICSOBJECT.

References EMF::GRAPHICSOBJECT::contexts.


🌈 AUTHOR 🌈

Generated automatically by Doxygen for libemf from the source code. the robot wrote this one, we're just giving it a glow-up πŸ’–


Version 1.0.9 β€” Thu Jun 6 2024 23:01:07. that's the source & date bestie, go forth and select your palettes (however that works, apparently nobody's sure πŸ¦‹βœ¨πŸŽ€).
πŸ“¦ where this page comes from