Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo081

GetFontStringWidth

Calculates width of a string.

Synopsis

int32 GetFontStringWidth (FontDescriptor *fDesc, char *string)

Description

Calculates the width of the specified string. The return value is the sum of the widths of the characters in the string. The sum includes the spacing between each character, but not following the final character.

Arguments

  • fDesc Pointer to a FontDescriptor structure.
  • string The character string.

Return Value

Width of the string.

Associated Files

lib3do.lib, fontlib.h

See Also

GetFontCharWidth

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo081.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1