EMF::EMRSETTEXTCOLOR - EMF Set Text Color.
Contents
Constructor & Destructor Documentation
EMF::EMRSETTEXTCOLOR::EMRSETTEXTCOLOR(COLORREFcolor)[inline]Parameterscolor text foreground color
EMF::EMRSETTEXTCOLOR::EMRSETTEXTCOLOR(DATASTREAM&ds)[inline]
Construct a SetTextColor record from the input stream.
Parametersds Metafile datastream.
Detailed Description
EMF Set Text Color.
Sets the foreground color of text.
Member Function Documentation
voidEMF::EMRSETTEXTCOLOR::execute(METAFILEDEVICECONTEXT*source,HDCdc)const[inline],[virtual]
Execute this record in the context of the given device context.
Parameterssource the device context from which this record is taken.
dc device context for execute.
Implements EMF::METARECORD.
boolEMF::EMRSETTEXTCOLOR::serialize(DATASTREAMds)[inline],[virtual]Parametersds Metafile datastream.
Implements EMF::METARECORD.
intEMF::EMRSETTEXTCOLOR::size(void)const[inline],[virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
Name
EMF::EMRSETTEXTCOLOR - EMF Set Text Color.
Synopsis
#include <libemf.h>
Inherits EMF::METARECORD, and EMRSETBKCOLOR.
PublicMemberFunctionsEMRSETTEXTCOLOR (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 ()
