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.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');
  1. Top of Page
  2. Main Menu
  3. Page Content
  4. Page Extras
  5. Bottom of Page