FreeHEP API
Version current

org.freehep.graphicsio.font.truetype
Class TTFMemoryInput

java.lang.Object
  extended byorg.freehep.graphicsio.font.truetype.TTFInput
      extended byorg.freehep.graphicsio.font.truetype.TTFMemoryInput

public class TTFMemoryInput
extends TTFInput

FIXME: These methods are not really tested yet.

Version:
$Id: TTFMemoryInput.java,v 1.1 2001/11/29 01:45:29 duns Exp $
Author:
Simon Fischer
Source Code:
TTFMemoryInput.java

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.