Deathshadow's Madness
Madness and you, perfect together

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;

Project Index