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

EMF Set Background Color. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSETBKCOLOR:
EMF::METARECORD

Public Member Functions

 EMRSETBKCOLOR (COLORREF color)
 
 EMRSETBKCOLOR (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 Set Background Color.

Sets the background color.

Constructor & Destructor Documentation

EMF::EMRSETBKCOLOR::EMRSETBKCOLOR ( COLORREF  color)
inline
Parameters
colorbackground color
EMF::EMRSETBKCOLOR::EMRSETBKCOLOR ( DATASTREAM ds)
inline

Construct a SetBkColor record from the input datastream.

Parameters
dsMetafile datastream.

Member Function Documentation

void EMF::EMRSETBKCOLOR::execute ( METAFILEDEVICECONTEXT source,
HDC  dc 
) const
inlinevirtual

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::EMRSETBKCOLOR::serialize ( DATASTREAM  ds)
inlinevirtual
Parameters
dsMetafile datastream.

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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