EMF::EMRCREATEPEN(3)

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

πŸ’– EMF::EMRCREATEPEN(3) β€” libemf's lil pen record, bestie πŸ’–

okay so welcome to the EMF::EMRCREATEPEN page, part of libemf, and honestly? she's giving "quiet overachiever." she's a metafile record whose whole personality is making a pen. pens draw lines. pens draw arcs. pens draw rectangles. pens are lowkey the moment. ✨


🌸 NAME 🌸

EMF::EMRCREATEPEN β€” EMF Pen. that's it, that's the whole vibe check. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libemf.h>

Inherits EMF::METARECORD, and EMRCREATEPEN.

πŸ‘‘ Public Member Functions πŸ‘‘

EMRCREATEPEN (PEN *pen, HGDIOBJ handle)
EMRCREATEPEN (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::EMRCREATEPEN β€” EMF Pen. πŸ–ŠοΈ

Create a new pen (used for drawing lines, arcs, rectangles, etc.). that's the entire job description and she is obsessed with it. no cap.


πŸ’œ Constructor & Destructor Documentation πŸ’œ

EMRCREATEPEN::EMRCREATEPEN (PEN * pen, HGDIOBJ handle)

bestie you're handing her the goods directly. here's what she wants:

  • pen β€” an instance of a PEN object.
  • handle β€” the PEN object's handle.

EMRCREATEPEN::EMRCREATEPEN (DATASTREAM & ds)

Construct a CreatePen record from the input stream. reading it in, not making it from scratch β€” main character behavior either way. πŸ’…

  • ds β€” Metafile datastream.

πŸ”₯ Member Function Documentation πŸ”₯

void EMRCREATEPEN::execute (METAFILEDEVICECONTEXT * source, HDC dc) const

[virtual] β€” yes she's virtual, she's built different.

Execute this record in the context of the given device context.

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

Implements EMF::METARECORD.

References EMF::METAFILEDEVICECONTEXT::emf_handles. 🫢

bool EMF::EMRCREATEPEN::serialize (DATASTREAM ds)

[inline], [virtual] β€” inline and virtual, she contains multitudes. πŸ’–

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

int EMF::EMRCREATEPEN::size (void) const

[inline], [virtual]

Internally computed size of this record. she did the math herself, periodt. ✨

Implements EMF::METARECORD.


⭐ Author ⭐

Generated automatically by Doxygen for libemf from the source code. not a human author, just Doxygen doing its lil automated thing. iconic honestly. 🧚


πŸ’€ reminder bestie: this whole page is auto-generated documentation, so treat it like the source of truth it is and don't go inventing extra behaviors for our girl. she creates pens. that's the arc. 🌸

and that's the page!! no notes, 10/10, would read again. this was Version 1.0.9, dated Thu Jun 6 2024 23:01:07, and it's the EMF::EMRCREATEPEN(3) page from libemf. bye bestie, go draw something pretty πŸŽ€πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from