Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> ttftextout

Last modified on Fri, 30th Mar 2007 at 02:29 UTC by zipplet

lxgfx.ttftextout


procedure ttftextout(
  surface: tlxhandle;
  font: tlxhandle;
  text: string;
  x, y, height: tlxposition;
  colour: tlxcolour32
);


Output text using the true type font specified, at the given position.

surface: tlxhandle
The surface to draw on.

font: tlxhandle
The font to use - created previously with lxgfx.ttfcreatefont.

text: string
The text to output.

x, y, height: tlxposition
The position to output the text to, and the height of the font in pixels.

colour: tlxcolour32
The colour of the text.

Class: lxgfx