logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

EMF::OBJECT - Global GDI object.

Author

       Generated automatically by Doxygen for libemf from the source code.

Version 1.0.9                                Thu Jun 6 2024 23:01:07                              EMF::OBJECT(3)

Constructor & Destructor Documentation

EMF::OBJECT::OBJECT(void)[inline]
       Create a new object. It's up to a subclass to create a real handle for this object.

Detailed Description

       Global GDI object.

       The GDI interface defines objects in terms of handles (rather than pointers). In order to emulate this,
       each object is placed into a global list and the index in that list becomes their handle.

Field Documentation

HGDIOBJEMF::OBJECT::handle
       The handle of a GDI object.

       Referenced by EMF::METAFILEDEVICECONTEXT::clearHandle().

Member Function Documentation

virtualOBJECTTYPEEMF::OBJECT::getType(void)const[purevirtual]
       Return the type of the object.

       Implemented in EMF::PEN, EMF::EXTPEN, EMF::BRUSH, EMF::FONT, EMF::PALETTE, and
       EMF::METAFILEDEVICECONTEXT.

Name

       EMF::OBJECT - Global GDI object.

Synopsis

       #include <libemf.h>

       Inherited by EMF::GRAPHICSOBJECT, and EMF::METAFILEDEVICECONTEXT.

   PublicMemberFunctions
       virtual ~OBJECT ()
           OBJECTs have a virtual destructor.
       OBJECT (void)
       virtual OBJECTTYPE getType (void) const =0

   DataFields
       HGDIOBJ handle

See Also