EMF::EMRCREATEPALETTE(3)

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

πŸ’– 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 a PALETTE object.
  • handle β€” the PALETTE object'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