SetTextCelSpacingAdjust

Sets spacing adjustment for text in text cel.

Synopsis

void SetTextCelSpacingAdjust(TextCel *tCel, int32 adjustSpacing)

Description

Sets a spacing adjustment for text rendered in the cel. Spacing is the extra horizontal space between characters in the text. The base spacing value comes from the FontDescriptor attached to the cel. The value you specify in this call is a signed adjustment to the spacing. Negative values render characters in the text closer together; positive values render characters farther apart.

Arguments

tCel
Pointer to a TextCel structure.
adjustSpacing
Value (in pixels) to add to the base spacing value for the font.

Associated Files

lib3do.lib, textlib.h