TypefaceFunctionsGetTypefaceWidth

Typeface

File formatFunctions
DisplayTypefaceGetTypefaceDimensionGetTypefaceHeightGetTypefaceWidthLoadTypefaceSetTypefaceAlignmentSetTypefaceColorSetTypefaceItalicSetTypefaceKerningSetTypefaceSizeSetTypefaceSpacing

GetTypefaceWidthFUNCTION

Description

Gets the output width of the given text and typeface. The width is calculated without transformations, except the resizing.

Syntax

Width.f = GetTypefaceWidth( Typeface.i, Text.s [, Size.f] )

Parameters

Typeface The number of the typeface.
Text The text to determine the width.

Return value

The width of the text.

See also

Union Bytes | Login