com.partnersoft.gui
Class GLFont

java.lang.Object
  extended by com.partnersoft.gui.GLFont
All Implemented Interfaces:
Coggable

public class GLFont
extends java.lang.Object
implements Coggable

This is a simple structure to store information needed by EZ2DGL about a font. It serves two roles; as an external definition it includes the texture bitmaps for the glyphs; as an internal definition it it only includes the textureIDs for the glyphs.

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Field Summary
 int descent
           
 GLTexture[] glyphs
           
 int height
           
 
Constructor Summary
GLFont()
           
 
Method Summary
 Cog getState()
           
 void setState(Cog newState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

glyphs

public GLTexture[] glyphs

descent

public int descent

height

public int height
Constructor Detail

GLFont

public GLFont()
Method Detail

getState

public Cog getState()
Specified by:
getState in interface Coggable

setState

public void setState(Cog newState)
Specified by:
setState in interface Coggable