EMF::EMREXTTEXTOUTW(3)

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

πŸ’… NAME ✨

EMF::EMREXTTEXTOUTW β€” EMF Extended Text Output Wide character. Bestie, this is the wide-char glow-up of text output in libemf (section 3 of the manual, library call territory πŸ’–).


πŸ¦‹ SYNOPSIS 🌸

#include <libemf.h>

Inherits EMF::METARECORD, and EMREXTTEXTOUTA. So yeah, it's in the family already, no cap.

✨ Public Member Functions ✨

EMREXTTEXTOUTW (const RECTL *bounds, DWORD graphicsMode, FLOAT xScale,
    FLOAT yScale, const PEMRTEXT text, LPCWSTR string, const INT *dx)
EMREXTTEXTOUTW (DATASTREAM &ds)
~EMREXTTEXTOUTW ()
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 Extended Text Output Wide character. That's literally the whole vibe statement.

Okay so what does it DO, you ask? It draws this text string with the current font, in the color of the current pen, and with the given text background color. And if you're feeling extra (main character energy fr fr), individual character positioning can be given in the dx array. Obsessed. πŸ’…


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

EMF::EMREXTTEXTOUTW::EMREXTTEXTOUTW (const RECTL * bounds, DWORD graphicsMode, FLOAT xScale, FLOAT yScale, const PEMRTEXT text, LPCWSTR string, const INT * dx) [inline]

Parameters

  • bounds β€” bounding box of text string.
  • graphicsMode β€” (not entirely sure?) 😭 yeah that's genuinely what the docs say, we're keeping it real.
  • xScale β€” width scale factor (of what?) 🧚 also straight from the source, don't come for me.
  • yScale β€” height scale factor (of what?) πŸ™ˆ same energy.
  • text β€” a text metarecord containing the rendering style.
  • string β€” the text to render.
  • dx β€” an array of positions for each character in string.

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

Construct a ExtTextOutA record from the input stream. ✨

Parameters

  • ds β€” Metafile datastream.

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

Destructor frees its copy of the string and its character offset array. Cleanup queen πŸ‘‘ β€” she leaves no leaks behind.


πŸ”₯ Member Function Documentation πŸ”₯

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

Execute this record in the context of the given device context. Let her cook πŸ“.

Parameters

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

Implements EMF::METARECORD.

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

Parameters

  • ds β€” Metafile datastream.

Implements EMF::METARECORD.

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

Internally computed size of this record. She measures herself, iconic behavior πŸ’―.

Implements EMF::METARECORD.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for libemf from the source code. (Not a human author, a robot did this, and honestly? slay πŸ€–βœ¨)


🌟 Okay bestie, that's the whole page β€” every flag, param, and inheritance line accounted for, nothing skipped, fr fr.

Version 1.0.9 πŸŽ€ Thu Jun 6 2024 23:01:07 πŸ¦‹ β€” mwah, go forth and render wide text, you absolute icon πŸ’–πŸ’…πŸ‘‘

πŸ“¦ where this page comes from