org.gljava.opengl.ftgl
Class FTFont
java.lang.Object
org.gljava.opengl.ftgl.FTFont
- Direct Known Subclasses:
- FTGLBitmapFont, FTGLExtrdFont, FTGLOutlineFont, FTGLPixmapFont, FTGLPolygonFont, FTGLTextureFont
public class FTFont
- extends java.lang.Object
Constructor Summary |
protected |
FTFont()
|
protected |
FTFont(long cPtr,
boolean cMemoryOwn)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCPtr
private long swigCPtr
swigCMemOwn
protected boolean swigCMemOwn
FTFont
protected FTFont(long cPtr,
boolean cMemoryOwn)
FTFont
protected FTFont()
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)