EMF::EMRSETPIXELV(3)

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

πŸ’– EMF::EMRSETPIXELV(3) πŸ’–

okay bestie, we're deep in libemf territory today and this one is literally the cutest little record in the whole metafile ✨ it's giving "one pixel, one dream" energy fr fr.


🌸 NAME 🌸

EMF::EMRSETPIXELV β€” EMF Set Pixel. that's it. that's the whole name. iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libemf.h>

Inherits EMF::METARECORD, and EMRSETPIXELV.

✨ Public Member Functions ✨

  • EMRSETPIXELV (INT x, INT y, COLORREF color)
  • EMRSETPIXELV (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 Set Pixel.

Set the given pixel to the given color. that's the whole vibe. one pixel. one color. no notes. πŸ’…


🫢 Constructor & Destructor Documentation 🫢

⭐ EMF::EMRSETPIXELV::EMRSETPIXELV (INT x, INT y, COLORREF color) [inline]

Parameters:

  • x β€” x position at which to draw pixel.
  • y β€” y position at which to draw pixel.
  • color β€” color of pixel.

like, you tell it where and you tell it what color and it just... does it. slay.

⭐ EMF::EMRSETPIXELV::EMRSETPIXELV (DATASTREAM & ds) [inline]

Construct a SetPixelV record from the input stream.

Parameters:

  • ds β€” Metafile datastream.

so instead of hand-feeding it coordinates, you just hand it the stream and it reads its own lil self into existence. self-sufficient queen behavior honestly πŸ‘‘


🌈 Member Function Documentation 🌈

πŸ’« void EMF::EMRSETPIXELV::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [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.

this is the moment where the record actually does the thing. main character energy. it needs its source (where it came from) and its dc (where it's going) and then it GOES. πŸ”₯

πŸ’« bool EMF::EMRSETPIXELV::serialize (DATASTREAM ds) [inline], [virtual]

Parameters:

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

returns a bool btw, so yes it can absolutely say no. we love a record with boundaries.

πŸ’« int EMF::EMRSETPIXELV::size (void) const [inline], [virtual]

Internally computed size of this record.

Implements EMF::METARECORD.

no cap, it just tells you how big it is. internally computed. it knows itself. self-awareness? we stan. 🧚


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libemf from the source code.

not a human author, bestie β€” a robot wrote this one. Doxygen said "I gotchu" and cranked out the docs. respect.

and that's the whole page!! πŸ’– you now know more about EMF::EMRSETPIXELV than 99% of people who have ever opened a metafile, periodt. go set a pixel. you've earned it. πŸŽ€βœ¨

Version 1.0.9 Β· Thu Jun 6 2024 23:01:07 β€” mwah, thanks for reading, ily, see you in the next manpage πŸ«ΆπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from