EMF::EMRSETWINDOWORGEX(3)

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

πŸŽ€ EMF::EMRSETWINDOWORGEX β€” EMF Set Window Origin (ex) πŸ’–

okay bestie, welcome to the libemf section 3 manual, this one's all about EMF::EMRSETWINDOWORGEX and it's literally the record that tells your metafile where the window origin lives. let's get into it ✨


🌸 NAME 🌸

EMF::EMRSETWINDOWORGEX β€” EMF Set Window Origin (ex). that's the whole vibe. it's giving "origin setter, but extra" πŸ’…


✨ SYNOPSIS ✨

#include <libemf.h>

so like, she inherits from EMF::METARECORD, and also from EMRSETBRUSHORGEX. yes queen, multiple inheritance, she contains multitudes πŸ¦‹

πŸ‘‘ Public Member Functions

  • EMRSETWINDOWORGEX (INT x, INT y) β€” the constructor where you hand her the coordinates yourself.
  • EMRSETWINDOWORGEX (DATASTREAM &ds) β€” the constructor that reads herself out of a datastream.
  • bool serialize (DATASTREAM ds) β€” serialize the record.
  • int size (void) const β€” how big this record is.
  • void execute (METAFILEDEVICECONTEXT *source, HDC dc) const β€” go do the thing in a device context.

🫢 Public Member Functions inherited from EMF::METARECORD

  • virtual ~METARECORD () β€” the destructor, inherited and virtual, as one does.

πŸ’œ Detailed Description πŸ’œ

EMF Set Window Origin (ex). periodt.

The window origin specifies the logical (i.e., real) coordinates of the upper, left corner of the viewport. (For example, if you want your XY plot's axis origin to be in the middle of the viewport, you'd set the window origin to something like [-1,-1].)

no cap, that [-1,-1] trick is the moment. axis origin in the middle of the viewport? iconic. 🌈

🧚 Constructor & Destructor Documentation 🧚

πŸ’– EMF::EMRSETWINDOWORGEX::EMRSETWINDOWORGEX (INT x, INT y) [inline]

the "you already know the numbers" constructor, bestie.

Parameters

  • x β€” x coordinate of window origin in logical coordinates
  • y β€” y coordinate of window origin in logical coordinates

πŸ’– EMF::EMRSETWINDOWORGEX::EMRSETWINDOWORGEX (DATASTREAM & ds) [inline]

Construct a SetWindowOrgEx record from the input stream. she reads herself into existence, main character energy fr fr.

Parameters

  • ds β€” Metafile datastream.

⭐ Member Function Documentation ⭐

🌟 void EMF::EMRSETWINDOWORGEX::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [virtual]

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

Parameters

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

Implements EMF::METARECORD.

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

Parameters

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

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

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

Implements EMF::METARECORD.


🌈 Author 🌈

Generated automatically by Doxygen for libemf from the source code. (not a human, just doxygen doing its little auto-gen dance, we love a documentation girlie πŸŽ€)


and that's the whole page, bestie!! Version 1.0.9, Thu Jun 6 2024 23:01:07 β€” mwah, thanks for reading, go set some window origins πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from