libemf 1.0.9
Public Member Functions
EMF::EMRDELETEOBJECT Class Reference

EMF Delete Object. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRDELETEOBJECT:
EMF::METARECORD

Public Member Functions

 EMRDELETEOBJECT (HGDIOBJ object)
 
 EMRDELETEOBJECT (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 void execute (METAFILEDEVICECONTEXT *source, HDC dc) const =0
 
virtual bool serialize (DATASTREAM ds)=0
 
virtual int size (void) const =0
 
virtual ~METARECORD ()
 

Detailed Description

EMF Delete Object.

Delete the given object, such as a pen, brush or font.

Constructor & Destructor Documentation

◆ EMRDELETEOBJECT() [1/2]

EMF::EMRDELETEOBJECT::EMRDELETEOBJECT ( HGDIOBJ  object)
inline
Parameters
objectthe object to delete.

References EMRDELETEOBJECT().

Referenced by EMRDELETEOBJECT().

◆ EMRDELETEOBJECT() [2/2]

EMF::EMRDELETEOBJECT::EMRDELETEOBJECT ( DATASTREAM ds)
inline

Construct a DeleteObject record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

◆ execute()

void EMRDELETEOBJECT::execute ( METAFILEDEVICECONTEXT source,
HDC  dc 
) const
virtual

Execute this record in the context of the given device context.

Parameters
sourcethe device context from which this record is taken.
dcdevice context for execute.

Implements EMF::METARECORD.

References EMF::METAFILEDEVICECONTEXT::emf_handles.

◆ serialize()

bool EMF::EMRDELETEOBJECT::serialize ( DATASTREAM  ds)
inlinevirtual
Parameters
dsMetafile datastream.

Implements EMF::METARECORD.

◆ size()

int EMF::EMRDELETEOBJECT::size ( void  ) const
inlinevirtual

Internally computed size of this record.

Implements EMF::METARECORD.


The documentation for this class was generated from the following files: