EMF::EMRSETVIEWPORTORGEX(3)

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

πŸ’– 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, and EMRSETBRUSHORGEX.

✨ Public Member Functions ✨

  • EMRSETVIEWPORTORGEX (INT x, INT y)
  • EMRSETVIEWPORTORGEX (DATASTREAM &ds)
  • bool serialize (DATASTREAM ds)
  • int size (void) const
  • void 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 coordinates
  • y β€” 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