EMF  1.0
Public Member Functions
EMF::EMREXTTEXTOUTA Class Reference

EMF Extended Text Output ASCII. More...

#include <libemf.h>

Inheritance diagram for EMF::EMREXTTEXTOUTA:
EMF::METARECORD

List of all members.

Public Member Functions

 EMREXTTEXTOUTA (const RECTL *bounds, DWORD graphicsMode, FLOAT xScale, FLOAT yScale, const PEMRTEXT text, LPCSTR string, const INT *dx)
 EMREXTTEXTOUTA (DATASTREAM &ds)
 ~EMREXTTEXTOUTA ()
bool serialize (DATASTREAM ds)
int size (void) const
void execute (METAFILEDEVICECONTEXT *, HDC dc) const

Detailed Description

EMF Extended Text Output ASCII.

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::EMREXTTEXTOUTA::EMREXTTEXTOUTA ( const RECTL *  bounds,
DWORD  graphicsMode,
FLOAT  xScale,
FLOAT  yScale,
const PEMRTEXT  text,
LPCSTR  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.

Construct a ExtTextOutA record from the input stream.

Parameters:
dsMetafile datastream.

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


Member Function Documentation

void EMF::EMREXTTEXTOUTA::execute ( METAFILEDEVICECONTEXT ,
HDC  dc 
) const [inline, 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::EMREXTTEXTOUTA::serialize ( DATASTREAM  ds) [inline, virtual]
Parameters:
fpMetafile file handle.

Implements EMF::METARECORD.

int EMF::EMREXTTEXTOUTA::size ( void  ) const [inline, virtual]

Internally computed size of this record.

Implements EMF::METARECORD.


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