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

EMF Extended Text Output Wide character. More...

#include <libemf.h>

Inheritance diagram for EMF::EMREXTTEXTOUTW:
EMF::METARECORD

Public Member Functions

 EMREXTTEXTOUTW (const RECTL *bounds, DWORD graphicsMode, FLOAT xScale, FLOAT yScale, const PEMRTEXT text, LPCWSTR string, const INT *dx)
 
 EMREXTTEXTOUTW (DATASTREAM &ds)
 
 ~EMREXTTEXTOUTW ()
 
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 Extended Text Output Wide character.

Draw this text string with the current font, in the color of the current pen and with the given text background color. Individual character positioning can be given in the dx array.

Constructor & Destructor Documentation

EMF::EMREXTTEXTOUTW::EMREXTTEXTOUTW ( const RECTL *  bounds,
DWORD  graphicsMode,
FLOAT  xScale,
FLOAT  yScale,
const PEMRTEXT  text,
LPCWSTR  string,
const INT *  dx 
)
inline
Parameters
boundsbounding box of text string.
graphicsMode(not entirely sure?)
xScalewidth scale factor (of what?)
yScaleheight scale factor (of what?)
texta text metarecord containing the rendering style.
stringthe text to render
dxan array of positions for each character in string.
EMF::EMREXTTEXTOUTW::EMREXTTEXTOUTW ( DATASTREAM ds)
inline

Construct a ExtTextOutA record from the input stream.

Parameters
dsMetafile datastream.
EMF::EMREXTTEXTOUTW::~EMREXTTEXTOUTW ( )
inline

Destructor frees its copy of the string and its character offset array

Member Function Documentation

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

Implements EMF::METARECORD.

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

Internally computed size of this record.

Implements EMF::METARECORD.


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