EMF::EMRSETPIXELV(3)
π 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) constvoid 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
- 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