EMF::EMREXTCREATEPEN(3)

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

πŸ’– EMF::EMREXTCREATEPEN β€” the EMF Extended Pen ✨

okay bestie, so this is a page from libemf (that's the manual name, manifesting it up top like a little intro card πŸŽ€) and we're talking about EMF::EMREXTCREATEPEN, aka the EMF Extended Pen. it's giving "I make lines happen." πŸ’…


🌸 NAME 🌸

EMF::EMREXTCREATEPEN β€” EMF Extended Pen. that's it, that's the whole name, she's simple and she's iconic πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libemf.h>

Inherits EMF::METARECORD, and EMREXTCREATEPEN.

✨ Public Member Functions ✨

  • EMREXTCREATEPEN (EXTPEN *pen, HGDIOBJ handle)
  • EMREXTCREATEPEN (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::EMREXTCREATEPEN β€” EMF Extended Pen. no cap, that's the energy ✨

so what does it do, you ask? it creates a new pen (the thing used for drawing lines, arcs, rectangles, etc.) πŸ–ŠοΈ and apparently it uses extended attributes such as a bitmap mask πŸ‘€ like okay, fancy.


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

EMREXTCREATEPEN::EMREXTCREATEPEN (EXTPEN * pen, HGDIOBJ handle)

Parameters

  • pen β€” an instance of a PEN object. πŸ’–
  • handle β€” the PEN object's handle. 🫢

EMREXTCREATEPEN::EMREXTCREATEPEN (DATASTREAM & ds)

Construct a ExtCreatePen record from the input stream. 🌊

Parameters

  • ds β€” Metafile datastream. πŸ“Ό

🌈 Member Function Documentation 🌈

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

[virtual]

Execute this record in the context of the given device context. it's literally the main character moment of this whole class πŸ’…

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::EMREXTCREATEPEN::serialize (DATASTREAM ds) [inline], [virtual]

Parameters

  • ds β€” Metafile datastream. πŸ“Ό

Implements EMF::METARECORD.

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

Internally computed size of this record. she knows her own measurements, periodt πŸ“βœ¨

Implements EMF::METARECORD.


πŸ’€ Author πŸ’€

Generated automatically by Doxygen for libemf from the source code. (not me writing this by hand, the robots did it πŸ€–βœ¨)


okay bestie that's the whole page, we ate and left no crumbs πŸ“πŸ’–

Version 1.0.9 β€” dated Thu Jun 6 2024 23:01:07. screenshot it, frame it, it's a whole timestamp moment πŸ“ΈπŸŒˆ

stay slaying those metafiles, ily πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from