Deathshadow's Madness
Madness and you, perfect together

Procedure tglKernedFont.scale

Declaration

procedure scale(s:glFloat);

Purpose

Change the size text will be rendered in.

Parameters

s : glFloat

How much to scale it up or down. Size 1 means make it whatever the glHeight value is.

Code Example

demoFont.scale(0.5);
demoFont.writeString('This text renders at half our default size');

Project Index