org.freehep.graphicsio.font.truetype
Class TTFMemoryInput

java.lang.Object
  extended by org.freehep.graphicsio.font.truetype.TTFInput
      extended by org.freehep.graphicsio.font.truetype.TTFMemoryInput

public class TTFMemoryInput
extends TTFInput

FIXME: These methods are not really tested yet.

Version:
$Id: TTFMemoryInput.java 8584 2006-08-10 23:06:37Z duns $
Author:
Simon Fischer

Constructor Summary
TTFMemoryInput(byte[] data)
           
 
Method Summary
 int readByte()
           
 byte readChar()
           
 void readFully(byte[] b)
           
 int readLong()
           
 int readRawByte()
           
 short readShort()
           
 long readULong()
           
 int readUShort()
           
 void seek(long offset)
           
 
Methods inherited from class org.freehep.graphicsio.font.truetype.TTFInput
checkShortZero, checkZeroBit, flagBit, flagBit, popPos, pushPos, readByteFlags, readF2Dot14, readFFFFTerminatedUShortArray, readFixed, readFWord, readShortArray, readUFWord, readUShortArray, readUShortFlags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTFMemoryInput

public TTFMemoryInput(byte[] data)
Method Detail

seek

public void seek(long offset)
Specified by:
seek in class TTFInput

readChar

public byte readChar()
Specified by:
readChar in class TTFInput

readRawByte

public int readRawByte()
Specified by:
readRawByte in class TTFInput

readByte

public int readByte()
Specified by:
readByte in class TTFInput

readShort

public short readShort()
Specified by:
readShort in class TTFInput

readUShort

public int readUShort()
Specified by:
readUShort in class TTFInput

readLong

public int readLong()
Specified by:
readLong in class TTFInput

readULong

public long readULong()
Specified by:
readULong in class TTFInput

readFully

public void readFully(byte[] b)
Specified by:
readFully in class TTFInput


Copyright © 2000-2007 FreeHEP. All Rights Reserved.