EMF::EMRSELECTOBJECT(3)

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

✨ NAME ✨

EMF::EMRSELECTOBJECT β€” EMF Select Object, bestie πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libemf.h>

Inherits EMF::METARECORD, and EMRDELETEOBJECT. Two parents, no cap, it's giving legacy C++ energy πŸ‘‘

πŸ’… Public Member Functions

  • EMRSELECTOBJECT (HGDIOBJ object) β€” make a whole new one from a raw handle.
  • EMRSELECTOBJECT (DATASTREAM &ds) β€” make one by reading it out of a stream.
  • bool serialize (DATASTREAM ds) β€” turn it back into bytes.
  • int size (void) const β€” how many bytes is this record, actually.
  • void execute (METAFILEDEVICECONTEXT *source, HDC dc) const β€” do the thing, for real.

🧚 Public Member Functions inherited from EMF::METARECORD

  • virtual ~METARECORD () β€” the destructor. Cleanup queen, we love her.

🌈 Detailed Description 🌈

EMF::EMRSELECTOBJECT β€” EMF Select Object.

Okay so what it does: it activates (aka makes current) the object you hand it. Pen? Brush? Font? Any of them, bestie, it's literally the "make this the one we're using now" record ✨


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

πŸ’œ EMF::EMRSELECTOBJECT::EMRSELECTOBJECT (HGDIOBJ object) [inline]

Parameters

  • object β€” the object to make active. Yes, that one. That's the one πŸ’…

πŸ’œ EMF::EMRSELECTOBJECT::EMRSELECTOBJECT (DATASTREAM & ds) [inline]

Construct a SelectObject record from the input stream. Like, it reads itself into existence, main character behavior fr fr 🫢

Parameters

  • ds β€” Metafile datastream.

πŸ”₯ Member Function Documentation πŸ”₯

🌟 void EMF::EMRSELECTOBJECT::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [virtual]

Execute this record in the context of the given device context. Go off, record πŸ‘‘

Parameters

  • source β€” the device context from which this record is taken.
  • dc β€” device context for execute.

Implements EMF::METARECORD.

References EMF::METAFILEDEVICECONTEXT::emf_handles. (iykyk πŸ“)

🌟 bool EMF::EMRSELECTOBJECT::serialize (DATASTREAM ds) [inline], [virtual]

Parameters

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

🌟 int EMF::EMRSELECTOBJECT::size (void) const [inline], [virtual]

Internally computed size of this record. It just knows its own size, no notes needed πŸ’€

Implements EMF::METARECORD.


⭐ Author ⭐

Generated automatically by Doxygen for libemf from the source code. Not a human, just a robot doing its little robot thing πŸ€–πŸ’–


Version 1.0.9 β€” dated Thu Jun 6 2024 23:01:07, and this manual page is EMF::EMRSELECTOBJECT(3). That's the whole vibe, bestie, thanks for reading, slay, periodt πŸŒΈπŸ¦‹βœ¨
πŸ“¦ where this page comes from