EMF::EMRSETVIEWPORTORGEX(3)
π EMF::EMRSETVIEWPORTORGEX β NAME π
okay bestie, welcome to the libemf page for EMF::EMRSETVIEWPORTORGEX β aka EMF Set Viewport Origin (ex) β¨ This is the part of the libemf manual (section 3, the library-calls girlies π) that tells you all about this one little record type.
πΈ SYNOPSIS πΈ
#include <libemf.h>
so first thing's first, she's a class with some serious lineage π:
- Inherits
EMF::METARECORD, andEMRSETBRUSHORGEX.
β¨ Public Member Functions β¨
EMRSETVIEWPORTORGEX (INT x, INT y)EMRSETVIEWPORTORGEX (DATASTREAM &ds)bool serialize (DATASTREAM ds)int size (void) constvoid execute (METAFILEDEVICECONTEXT *source, HDC dc) const
π«Ά Public Member Functions inherited from EMF::METARECORD
virtual ~METARECORD ()
π¦ Detailed Description π¦
EMF Set Viewport Origin (ex) β say it with me π
The viewport origin is a point in device coordinates (i.e., pixels) where the viewport starts. So like, picture it as the lil anchor point where your drawing area kicks off π
For example, if you want to put several different views on the same page, you might use different viewports. it's giving collage energy π
π Constructor & Destructor Documentation π
π EMF::EMRSETVIEWPORTORGEX::EMRSETVIEWPORTORGEX (INT x, INT y) [inline]
Parameters
xβ x position of the viewport in device coordinatesyβ y position of the viewport in device coordinates
so you just hand her an x and a y and she knows where the viewport lives, no cap π
π EMF::EMRSETVIEWPORTORGEX::EMRSETVIEWPORTORGEX (DATASTREAM & ds) [inline]
Construct a SetVieportOrgEx record from the input stream. π§
Parameters
dsβ Metafile datastream.
π₯ Member Function Documentation π₯
π void EMF::EMRSETVIEWPORTORGEX::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [virtual]
Execute this record in the context of the given device context. go off, do your thing β¨
Parameters
sourceβ the device context from which this record is taken.dcβ device context for execute.
Implements EMF::METARECORD.
π bool EMF::EMRSETVIEWPORTORGEX::serialize (DATASTREAM ds) [inline], [virtual]
Parameters
dsβ Metafile datastream.
Implements EMF::METARECORD.
π int EMF::EMRSETVIEWPORTORGEX::size (void) const [inline], [virtual]
Internally computed size of this record. she does the math herself, main character behavior π
Implements EMF::METARECORD.
π Author π
Generated automatically by Doxygen for libemf from the source code. (not a human, just a very diligent robot bestie π€π)
and that's the whole page, babe π«Ά this was Version 1.0.9, dated Thu Jun 6 2024 23:01:07 β mwah, slay, periodt ππΈ
π¦ 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