|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.graphicsio.font.truetype.TTFInput
Data input for true type files. All methods are named as the data formats in the true type specification.
Constructor Summary | |
TTFInput()
|
Method Summary | |
void |
checkShortZero()
|
static boolean |
checkZeroBit(int b,
int bit,
String name)
|
boolean |
flagBit(int bit)
|
static boolean |
flagBit(int b,
int bit)
|
void |
popPos()
|
void |
pushPos()
|
abstract int |
readByte()
|
void |
readByteFlags()
Reads byte flags into a temporary variable which can be queried using the flagBit method. |
abstract byte |
readChar()
|
double |
readF2Dot14()
|
int[] |
readFFFFTerminatedUShortArray()
|
double |
readFixed()
|
abstract void |
readFully(byte[] b)
|
short |
readFWord()
|
abstract int |
readLong()
|
abstract int |
readRawByte()
|
abstract short |
readShort()
|
short[] |
readShortArray(int n)
|
int |
readUFWord()
|
abstract long |
readULong()
|
abstract int |
readUShort()
|
int[] |
readUShortArray(int n)
|
void |
readUShortFlags()
Reads unsigned short flags into a temporary variable which can be queried using the flagBit method. |
abstract void |
seek(long offset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TTFInput()
Method Detail |
public abstract void seek(long offset) throws IOException
IOException
public void pushPos() throws IOException
IOException
public void popPos() throws IOException
IOException
public abstract int readRawByte() throws IOException
IOException
public abstract int readByte() throws IOException
IOException
public abstract short readShort() throws IOException
IOException
public abstract int readUShort() throws IOException
IOException
public abstract long readULong() throws IOException
IOException
public abstract int readLong() throws IOException
IOException
public abstract byte readChar() throws IOException
IOException
public final short readFWord() throws IOException
IOException
public final int readUFWord() throws IOException
IOException
public final double readFixed() throws IOException
IOException
public final double readF2Dot14() throws IOException
IOException
public final void checkShortZero() throws IOException
IOException
public static final boolean checkZeroBit(int b, int bit, String name) throws IOException
IOException
public void readUShortFlags() throws IOException
IOException
public void readByteFlags() throws IOException
IOException
public boolean flagBit(int bit)
public static boolean flagBit(int b, int bit)
public abstract void readFully(byte[] b) throws IOException
IOException
public int[] readFFFFTerminatedUShortArray() throws IOException
IOException
public int[] readUShortArray(int n) throws IOException
IOException
public short[] readShortArray(int n) throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |