GetFontCharWidest

Retrieves width of the widest character in a string.

Synopsis

int32 GetFontCharWidest (FontDescriptor *fDesc, char *string)

Description

Returns the width in pixels of the widest character in the string.

Arguments

fDesc
Pointer to a FontDescriptor structure.
string
String to be scanned for the widest character width.

Return Value

Width of the widest character.

Associated Files

lib3do.lib, fontlib.h