org.gljava.opengl.ftgl
Class FTFont

java.lang.Object
  extended by org.gljava.opengl.ftgl.FTFont
Direct Known Subclasses:
FTGLBitmapFont, FTGLExtrdFont, FTGLOutlineFont, FTGLPixmapFont, FTGLPolygonFont, FTGLTextureFont

public class FTFont
extends java.lang.Object


Field Summary
protected  boolean swigCMemOwn
           
private  long swigCPtr
           
 
Constructor Summary
protected FTFont()
           
protected FTFont(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 float advance(java.lang.String string)
           
 float advance(SWIGTYPE_p_wchar_t string)
           
 float ascender()
           
 boolean attach(java.lang.String fontFilePath)
           
 boolean attach(SWIGTYPE_p_unsigned_char pBufferBytes, int bufferSizeInBytes)
           
 void bBox(java.lang.String string, float[] arg1, float[] arg2, float[] arg3, float[] arg4, float[] arg5, float[] arg6)
           
 boolean charMap(SWIGTYPE_p_FT_Encoding encoding)
           
 long charMapCount()
           
 SWIGTYPE_p_FT_Encoding charMapList()
           
 void delete()
           
 void depth(float depth)
           
 float descender()
           
 int error()
           
 long faceSize()
           
 boolean faceSize(long size, long res)
           
protected  void finalize()
           
 BoundingBox getBoundingBox(java.lang.String string)
           
protected static long getCPtr(FTFont obj)
           
 float lineHeight()
           
 void render(java.lang.String string)
           
 void useDisplayList(boolean useList)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCPtr

private long swigCPtr

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

FTFont

protected FTFont(long cPtr,
                 boolean cMemoryOwn)

FTFont

protected FTFont()
Method Detail

getCPtr

protected static long getCPtr(FTFont obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

attach

public boolean attach(java.lang.String fontFilePath)

attach

public boolean attach(SWIGTYPE_p_unsigned_char pBufferBytes,
                      int bufferSizeInBytes)

charMap

public boolean charMap(SWIGTYPE_p_FT_Encoding encoding)

charMapCount

public long charMapCount()

charMapList

public SWIGTYPE_p_FT_Encoding charMapList()

faceSize

public boolean faceSize(long size,
                        long res)

faceSize

public long faceSize()

depth

public void depth(float depth)

useDisplayList

public void useDisplayList(boolean useList)

ascender

public float ascender()

descender

public float descender()

lineHeight

public float lineHeight()

bBox

public void bBox(java.lang.String string,
                 float[] arg1,
                 float[] arg2,
                 float[] arg3,
                 float[] arg4,
                 float[] arg5,
                 float[] arg6)

advance

public float advance(SWIGTYPE_p_wchar_t string)

advance

public float advance(java.lang.String string)

render

public void render(java.lang.String string)

error

public int error()

getBoundingBox

public BoundingBox getBoundingBox(java.lang.String string)