EMF::OBJECT(3)

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

πŸ’– EMF::OBJECT πŸ’–

ok so bestie, welcome to EMF::OBJECT from the libemf manual (section 3, the library-functions girlies 🫢). this is the Global GDI object and honestly? she's the blueprint. the moment. the whole vibe. let's get into it ✨


✨ NAME ✨

EMF::OBJECT β€” the Global GDI object πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libemf.h>

Inherited by EMF::GRAPHICSOBJECT, and EMF::METAFILEDEVICECONTEXT. like, they literally carry her genes πŸ’…

🌸 Public Member Functions 🌸

  • virtual ~OBJECT () β€” bestie, OBJECTs get a virtual destructor. that's it, that's the whole note. iconic behavior ✨
  • OBJECT (void) β€” the constructor, no args, no drama πŸŽ€
  • virtual OBJECTTYPE getType (void) const =0 β€” pure virtual, so she's saying "y'all figure out your own type, i'm just the mother" 😭

πŸ“ Data Fields πŸ“

  • HGDIOBJ handle β€” the handle. the whole point. the main character 🌟

πŸ’œ Detailed Description πŸ’œ

Global GDI object. periodt.

the GDI interface defines objects in terms of handles (rather than pointers). and because we're out here emulating that whole situation, each object gets placed into a global list and β€” plot twist β€” the index in that list becomes their handle 🫢 so like, your handle is your position in the group chat. no cap.


🧚 Constructor & Destructor Documentation 🧚

EMF::OBJECT::OBJECT (void) β€” [inline]

Create a new object ✨ and ngl, that's all she does. It's up to a subclass to create a real handle for this object. so the baby is born handle-less and some other class has to step up and be the parent πŸ₯²


🌈 Member Function Documentation 🌈

virtual OBJECTTYPE EMF::OBJECT::getType (void) const β€” [pure virtual]

Return the type of the object. that's the assignment, bestie 🎯

Implemented in EMF::PEN, EMF::EXTPEN, EMF::BRUSH, EMF::FONT, EMF::PALETTE, and EMF::METAFILEDEVICECONTEXT. look at the roster 😭πŸ”₯ every single one of them showed up to do the work she refused to do herself. we love a delegation queen.


πŸŽ€ Field Documentation πŸŽ€

HGDIOBJ EMF::OBJECT::handle

The handle of a GDI object. that's it. that's the field. she's small but she runs this whole thing πŸ’…

Referenced by EMF::METAFILEDEVICECONTEXT::clearHandle(). iykyk πŸ‘€


⭐ Author ⭐

Generated automatically by Doxygen for libemf from the source code. so like, no human wrote this, a robot did, and the robot ate fr fr πŸ€–πŸ’–


ok that's the whole page bestie!! Version 1.0.9, dated Thu Jun 6 2024 23:01:07 β€” go forth and handle your handles πŸ¦‹πŸ’œ mwah!!

πŸ“¦ where this page comes from