mako5.gfx
Class OGLFont

java.lang.Object
  extended by mako5.gfx.OGLFont

public class OGLFont
extends Object

Used to represent a font. Note that the majority of this is "borrowed" code.

Version:
07-Mar 2006
Author:
not me

Field Summary
static int BOLD
           
static int ITALIC
           
static int PLAIN
           
 
Constructor Summary
OGLFont()
           
OGLFont(String type, int fontSize, int fontFlags)
           
 
Method Summary
 void buildFont(String fontName, int fontSize, int fontFlags)
           
 void destroy()
           
 void glPrint(String msg, float x, float y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOLD

public static final int BOLD
See Also:
Constant Field Values

ITALIC

public static final int ITALIC
See Also:
Constant Field Values

PLAIN

public static final int PLAIN
See Also:
Constant Field Values
Constructor Detail

OGLFont

public OGLFont()

OGLFont

public OGLFont(String type,
               int fontSize,
               int fontFlags)
Method Detail

glPrint

public void glPrint(String msg,
                    float x,
                    float y)

buildFont

public void buildFont(String fontName,
                      int fontSize,
                      int fontFlags)

destroy

public void destroy()