EMF::EMRCREATEPALETTE(3)
π EMF::EMRCREATEPALETTE β the libemf manual page, bestie edition π
okay so. welcome to EMF::EMRCREATEPALETTE, straight out of the libemf manual (that's section 3, library functions, iykyk). it's giving EMF Palette energy and honestly? obsessed.
β¨ NAME β¨
EMF::EMRCREATEPALETTE β EMF Palette. that's it, that's the whole name. short, iconic, no notes. π
π¦ SYNOPSIS π¦
#include <libemf.h>
Inherits EMF::METARECORD, and EMRCREATEPALETTE.
πΈ Public Member Functions πΈ
EMRCREATEPALETTE (PALETTE *palette, HGDIOBJ handle)
EMRCREATEPALETTE (DATASTREAM &ds)
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *source, HDC dc) const
π Public Member Functions inherited from EMF::METARECORD π
virtual ~METARECORD ()
π Detailed Description π
EMF Palette.
Create a new palette. that's the whole vibe β you're manifesting a fresh palette into existence. β¨
π Constructor & Destructor Documentation π
EMRCREATEPALETTE::EMRCREATEPALETTE (PALETTE * palette, HGDIOBJ handle)
Parameters
paletteβ an instance of aPALETTEobject.handleβ thePALETTEobject's handle.
so you hand it a palette and that palette's handle, and it does its lil thing. π«Ά
EMF::EMRCREATEPALETTE::EMRCREATEPALETTE (DATASTREAM & ds)
Construct a CreatePalette record from the input stream.
Parameters
dsβ Metafile datastream.
yep, this one just reads it straight out of the stream like it's scrolling the feed. π
π₯ Member Function Documentation π₯
void EMRCREATEPALETTE::execute (METAFILEDEVICECONTEXT * source, HDC dc)
const [virtual]
Execute this record in the context of the given device context.
Parameters
sourceβ the device context from which this record is taken.dcβ device context for execute.
Implements EMF::METARECORD.
like. it literally just runs the record inside the device context you gave it. main character behaviour, fr fr. π
bool EMF::EMRCREATEPALETTE::serialize (DATASTREAM ds)
[inline], [virtual]
Parameters
dsβ Metafile datastream.
Implements EMF::METARECORD.
takes the datastream, hands you back a bool. no cap. β
int EMF::EMRCREATEPALETTE::size (void) const
[inline], [virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
it knows its own size without you having to ask twice. self-aware queen. π
π Author π
Generated automatically by Doxygen for libemf from the source code.
(not me being written by a doc generator π iconic of it honestly)
heads up bestie: this whole page was auto-generated by Doxygen for libemf, so the author field is doing its own thing. don't come for me, come for the toolchain. π
Version 1.0.9 β dated Thu Jun 6 2024 23:01:07, and that's the footer, so that's the vibe check. go forth and create palettes, bestie. πβ¨ππ¦
π¦ 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