hgeFont::Render

Renders the text string to the screen.

void Render(
  float x,
  float y,
  int align,
  const char *string
);

Parameters

x
Screen x-coordinate.
y
Screen y-coordinate.
align
Alignment specificator. May be one of these: HGETEXT_LEFT, HGETEXT_RIGHT, HGETEXT_CENTER.
string
The string to be rendered.

Remarks

Line breaks ('\n') are correctly processed. All other control symbols are treated like ordinary characters. Symbols not defined in the font are rendered as '?'.

Requirements

Header: hgefont.h
Import library: hgehelp.lib

See also

printf, printfb