Element Style Functions

:Associate with "Element Style Functions" More...

Functions

int GetStringExtents (TEXTSTYLE *style, DPOINT2D *basepts, INT32 numbasepts, UINT32 baseflags, const MIUNICODE *string, DRECT2D *extents)
int GetStringExtentsJustify (TEXTSTYLE *style, DPOINT2D *basepts, INT32 numbasepts, UINT32 baseflags, const MIUNICODE *string, DRECT2D *extents)
int MxGetSymbolMinMax (UINT8 *symbolbuf, LRECTXY *minmax)
int MxGetSymbolSize (UINT8 *symbolbuf)
int MxParseSymbol (const char *const istring, UINT8 **bufp)
char * MxSymbolToText (UINT8 *buf)

Detailed Description

:Associate with "Element Style Functions"


Function Documentation

int GetStringExtents ( TEXTSTYLE style,
DPOINT2D basepts,
INT32  numbasepts,
UINT32  baseflags,
const MIUNICODE string,
DRECT2D extents 
)

Compute extents for string as it would be drawn.

int GetStringExtentsJustify ( TEXTSTYLE style,
DPOINT2D basepts,
INT32  numbasepts,
UINT32  baseflags,
const MIUNICODE string,
DRECT2D extents 
)

Compute extents for string as it would be drawn.

int MxGetSymbolMinMax ( UINT8 symbolbuf,
LRECTXY minmax 
)

Compute min/max of a symbol in its coordinate system.

int MxGetSymbolSize ( UINT8 symbolbuf  ) 

Compute size of symbol in its coordinate system.

int MxParseSymbol ( const char *const  istring,
UINT8 **  bufp 
)

Parse text string and build symbol description.

char* MxSymbolToText ( UINT8 buf  ) 

Convert symbol description to text string.


Generated on Thu Apr 26 04:46:39 2007 for TNTsdk by  doxygen 1.5.2