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::GRAPHICSOBJECT - A global graphics object.

Author

       Generated automatically by Doxygen for libemf from the source code.

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

Detailed Description

       A global graphics object.

       Graphics objects have some additional properties: When an object is Select'ed into a device context, the
       handle for that context is added to the list of context's in which this object is used.

Field Documentation

std::map<HDC,HGDIOBJ>EMF::GRAPHICSOBJECT::contexts
       A set of all the contexts into which this object has been selected and the associated metafile handle for
       the object.

       Referenced by EMF::PEN::newEMR(), EMF::EXTPEN::newEMR(), EMF::BRUSH::newEMR(), EMF::FONT::newEMR(), and
       EMF::PALETTE::newEMR().

Member Function Documentation

virtualMETARECORD*EMF::GRAPHICSOBJECT::newEMR(HDCdc,HGDIOBJhandle)[purevirtual]
       Create a new metarecord which describes this object.

       Parametersdc the handle to the device context.
           handle (appears not to used. Note the handle is really assigned at serialization time.)

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

Name

       EMF::GRAPHICSOBJECT - A global graphics object.

Synopsis

       #include <libemf.h>

       Inherits EMF::OBJECT.

       Inherited by EMF::BRUSH, EMF::EXTPEN, EMF::FONT, EMF::PALETTE, and EMF::PEN.

   PublicMemberFunctions
       virtual ~GRAPHICSOBJECT ()
           GRAPHICSOBJECTs has a virtual destructor.
       virtual METARECORD * newEMR (HDC dc, HGDIOBJ handle)=0

       Public Member Functions inherited from EMF::OBJECT
       virtual ~OBJECT ()
           OBJECTs have a virtual destructor.
       OBJECT (void)
       virtual OBJECTTYPE getType (void) const =0

   DataFields
       std::map< HDC, HGDIOBJ > contexts

       Data Fields inherited from EMF::OBJECT
       HGDIOBJ handle

See Also