EMF  1.0
Public Member Functions | List of all members
EMF::EMRSELECTOBJECT Class Reference

EMF Select Object. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSELECTOBJECT:
EMF::METARECORD

Public Member Functions

 EMRSELECTOBJECT (HGDIOBJ object)
 
 EMRSELECTOBJECT (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 ~METARECORD ()
 

Detailed Description

EMF Select Object.

Activate (make current) the given object, such as a pen, brush or font.

Constructor & Destructor Documentation

EMF::EMRSELECTOBJECT::EMRSELECTOBJECT ( HGDIOBJ  object)
inline
Parameters
objectthe object to make active.
EMF::EMRSELECTOBJECT::EMRSELECTOBJECT ( DATASTREAM ds)
inline

Construct a SelectObject record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

void EMRSELECTOBJECT::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.

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

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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