EMF::EMRPOLYLINETO(3)

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

πŸ’– EMF::EMRPOLYLINETO πŸ’–

okay bestie, welcome to the libemf cinematic universe ✨ this is the manual page for EMF::EMRPOLYLINETO(3) and she is lowkey a whole vibe. buckle up πŸŽ€


🌸 NAME 🌸

EMF::EMRPOLYLINETO β€” EMF PolylineTo. that's it, that's the name, no notes πŸ’…


✨ SYNOPSIS ✨

#include <libemf.h>

Inherits EMF::METARECORD, and EMRPOLYLINE. yes queen, she's got double inheritance, it's giving main character energy fr fr πŸ‘‘

πŸ¦‹ Public Member Functions πŸ¦‹

  • EMRPOLYLINETO (const RECTL *bounds, const POINT *points, INT n) β€” the constructor where you hand her the bounds, the points and the count 🫢
  • EMRPOLYLINETO (DATASTREAM &ds) β€” the constructor that reads herself out of a stream, iconic πŸ’–
  • ~EMRPOLYLINETO () β€” destructor, she cleans up after herself 🌸
  • bool serialize (DATASTREAM ds) β€” serialize, obviously ✨
  • int size (void) const β€” how big is she? internally computed, no cap πŸ’…
  • void execute (METAFILEDEVICECONTEXT *source, HDC dc) const β€” go do the thing in a device context πŸŽ€

πŸ’œ Public Member Functions inherited from EMF::METARECORD

  • virtual ~METARECORD () β€” inherited destructor, still slaying

🌈 Detailed Description 🌈

EMF PolylineTo.

Draw a polygonal line curve to (what?) β€” yeah bestie, the docs literally say that, I'm not even joking, the original author left us on read πŸ’€ but we respect the mystery, she's mysterious, she's enigmatic, she's ✨him✨


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

πŸ’– EMF::EMRPOLYLINETO::EMRPOLYLINETO (const RECTL * bounds, const POINT * points, INT n) [inline]

the glow-up constructor. here's what you're passing her:

  • bounds β€” overall bounding box of polybezier curve.
  • points β€” array of polybezier vertices.
  • n β€” number of vertices in points.

like okay give her the box and the vertices and how many of them there are and she will handle it πŸ’…

πŸ¦‹ EMF::EMRPOLYLINETO::EMRPOLYLINETO (DATASTREAM & ds) [inline]

Construct a PolylineTo record from the input stream. she's built different, she comes pre-assembled πŸ“¦βœ¨

  • ds β€” Metafile datastream.

🌸 EMF::EMRPOLYLINETO::~EMRPOLYLINETO () [inline]

Destructor frees a copy of the points it buffered. yes she made a copy, and yes she frees it, that's called being responsible with your memory and we love that for her 🫢


⭐ Member Function Documentation ⭐

πŸ’œ void EMF::EMRPOLYLINETO::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [virtual]

Execute this record in the context of the given device context. do it, girl, go off πŸ”₯

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

Implements EMF::METARECORD. (she's fulfilling a promise she made to her parent class, we stan inheritance πŸ’–)

✨ bool EMF::EMRPOLYLINETO::serialize (DATASTREAM ds) [inline], [virtual]

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

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

Internally computed size of this record. no cap, she knows her own measurements πŸ’…

Implements EMF::METARECORD.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libemf from the source code. so like, technically a robot wrote her bio, but honestly? the robot ate πŸ€–πŸ’–


aaaand that's the whole page bestie, tysm for reading, ily 🫢

this was Version 1.0.9, dated Thu Jun 6 2024 23:01:07 β€” so yeah, she's a 2024 girlie, still fresh, still serving 🌸✨ byeeee πŸ’…πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from