libemf 1.0.9
EMF::EMRSETTEXTCOLOR Class Reference

EMF Set Text Color. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSETTEXTCOLOR:
EMF::METARECORD

Public Member Functions

 EMRSETTEXTCOLOR (COLORREF color)
 
 EMRSETTEXTCOLOR (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 Text Color.

Sets the foreground color of text.

Constructor & Destructor Documentation

◆ EMRSETTEXTCOLOR() [1/2]

EMF::EMRSETTEXTCOLOR::EMRSETTEXTCOLOR ( COLORREF color)
inline
Parameters
colortext foreground color

◆ EMRSETTEXTCOLOR() [2/2]

EMF::EMRSETTEXTCOLOR::EMRSETTEXTCOLOR ( DATASTREAM & ds)
inline

Construct a SetTextColor record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

◆ execute()

void EMF::EMRSETTEXTCOLOR::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.

◆ serialize()

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

Implements EMF::METARECORD.

◆ size()

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

Internally computed size of this record.

Implements EMF::METARECORD.


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