EMF::PALETTE(3)
π 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) constMETARECORD * 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::GRAPHICSOBJECTstd::map< HDC, HGDIOBJ > contexts
- Data Fields inherited from
EMF::OBJECTHGDIOBJ 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 theFONT. (yes, it saysFONT. 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 π
Version1.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
- 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