EMF::EMRSETWINDOWORGEX(3)
π 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 coordinatesyβ 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
- debian trixie: libemf-doc 1.0.13-8 Β· GPL-2.0-only
- ubuntu questing: libemf-doc 1.0.13-8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms