EMF::EMRPOLYPOLYGON(3)

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

πŸ’– NAME πŸ’–

EMF::EMRPOLYPOLYGON β€” EMF Poly Polygon. yes that's the whole name, she's literally just a poly polygon and she's slaying at it 🫢


✨ SYNOPSIS ✨

#include <libemf.h>

Inherits EMF::METARECORD, and EMRPOLYPOLYLINE.

🌸 Public Member Functions 🌸

  • EMRPOLYPOLYGON (const RECTL *bounds, const POINT *points, const INT *counts, UINT polygons) β€” the main character constructor, builds one of these from your bounds/points/counts
  • ~EMRPOLYPOLYGON () β€” the destructor, she cleans up after herself
  • EMRPOLYPOLYGON (DATASTREAM &ds) β€” constructor that reads a Polygon record straight off an input stream
  • bool serialize (DATASTREAM ds) β€” serialize it
  • int size (void) const β€” how big is this record, internally computed
  • 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, iconic of her

πŸ’… Detailed Description πŸ’…

EMF Poly Polygon.

Draw several filled polygons. that's it, that's the job. several. filled. polygons. periodt πŸ”₯


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

EMF::EMRPOLYPOLYGON::EMRPOLYPOLYGON (const RECTL * bounds, const POINT * points, const INT * counts, UINT polygons) [inline]

Parameters, bestie, here's the tea:

  • bounds β€” overall bounding box of polygon.
  • points β€” array of polygon vertices.
  • counts β€” array of number of vertices in each polygon.
  • polygons β€” number of polygons.

EMF::EMRPOLYPOLYGON::~EMRPOLYPOLYGON () [inline]

Destructor frees a copy of the counts and points it buffered. she keeps receipts (literally buffers copies) and then lets them go, we love a clean exit πŸ’–

EMF::EMRPOLYPOLYGON::EMRPOLYPOLYGON (DATASTREAM & ds) [inline]

Construct a Polygon record from the input stream.

Parameters:

  • ds β€” Metafile datastream.

🌈 Member Function Documentation 🌈

void EMF::EMRPOLYPOLYGON::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. she's fulfilling a promise to her ancestor, we respect the lineage πŸ‘‘

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

Parameters:

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


⭐ Author ⭐

Generated automatically by Doxygen for libemf from the source code. not a human, just Doxygen doing its lil automatic thing, no cap πŸ€–βœ¨


so yeah, that's the whole page. every flag, param, inherit and inherited destructor accounted for, nothing skipped, nothing invented. iykyk πŸ’…

okay bye bestie, go draw ur several filled polygons, you got this πŸ¦‹πŸ’œ β€” this was libemf version 1.0.9, dated Thu Jun 6 2024 23:01:07, section 3 of the manual. mwah πŸŽ€

πŸ“¦ where this page comes from