DEATHSHADOW'S
MADNESS
Madness and You, Perfect together!

  1. Top of Page
  2. Main Menu
  3. Page Content
  4. Page Extras
  5. Bottom of Page

Procedure tglKernedFont.writeChar

Declaration


  procedure writeChar(ch:char);

Purpose

Writes a character at the cursor position kerning adjusted to the previously output character, and advancing the cursor position.

Parameters

ch : char

The character to be output

Code Example


  st:='Color fade from green to yellow';
  for t:=1 to length(st) do begin
    glcolor3f(t/length(st),1,0);
    demoFont.writeChar(st[t]);
  end;
  1. Top of Page
  2. Main Menu
  3. Page Content
  4. Page Extras
  5. Bottom of Page