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.setPosition

Declaration


  procedure setPosition(x,y,z:glFloat);

Purpose

Change the position in relation to the current gl coordinates to render text at in relation to the current glTranslate.

Parameters

x,z,y : glFloat

Where to move the font cursor to.

Code Example


  glTranslate3f(10,10,1);
  demoFont.setPosition(5,-5,0);
  demoFont.writeString('This text renders at 15,5,1');
  1. Top of Page
  2. Main Menu
  3. Page Content
  4. Page Extras
  5. Bottom of Page