BitmapFont
Class BitmapFonts

java.lang.Object
  |
  +--BitmapFont.BitmapFonts

public class BitmapFonts
extends java.lang.Object


Field Summary
(package private)  int ascent
           
(package private)  int descent
           
(package private)  BitmapFont[] fonts
           
(package private)  int height
           
(package private)  int[] indexByChar
           
(package private)  int leading
           
(package private) static int maxAllowedHeight
           
(package private) static int maxAllowedWidth
           
(package private) static char maxChar
           
(package private)  int maxWidth
           
(package private) static char minChar
           
(package private)  int nofchs
           
(package private)  int pointSize
           
 
Constructor Summary
BitmapFonts()
           
 
Method Summary
 int charWidth(char ch)
           
 void generate(java.lang.String fname, int fsize)
           
 int getDescent()
           
 void print(boolean verbose)
           
 void read(java.io.DataInputStream fin)
           
 void setupGL(gl4java.GLFunc gl, int offset)
           
 void write(java.io.DataOutputStream fout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nofchs

int nofchs

pointSize

int pointSize

maxWidth

int maxWidth

height

int height

leading

int leading

ascent

int ascent

descent

int descent

fonts

BitmapFont[] fonts

indexByChar

int[] indexByChar

minChar

static final char minChar
See Also:
Constant Field Values

maxChar

static final char maxChar
See Also:
Constant Field Values

maxAllowedWidth

static final int maxAllowedWidth
See Also:
Constant Field Values

maxAllowedHeight

static final int maxAllowedHeight
See Also:
Constant Field Values
Constructor Detail

BitmapFonts

public BitmapFonts()
Method Detail

generate

public void generate(java.lang.String fname,
                     int fsize)

write

public void write(java.io.DataOutputStream fout)
           throws java.io.IOException
java.io.IOException

read

public void read(java.io.DataInputStream fin)
          throws java.io.IOException
java.io.IOException

print

public void print(boolean verbose)

setupGL

public void setupGL(gl4java.GLFunc gl,
                    int offset)

charWidth

public int charWidth(char ch)

getDescent

public int getDescent()