hgeFont::GetPreWidth

Returns the offset before the sprite of the specified character.

float GetPreWidth(
  char chr
);

Parameters

chr
The character for which the offset is being requested.

Return value

Returns the offset before the specified character at 100% scale, in pixels.

Requirements

Header: hgefont.h
Import library: hgehelp.lib

See also

GetPostWidth