org.apache.batik.svggen.font.table
Class CoverageFormat1

java.lang.Object
  extended by org.apache.batik.svggen.font.table.Coverage
      extended by org.apache.batik.svggen.font.table.CoverageFormat1

public class CoverageFormat1
extends Coverage


Constructor Summary
protected CoverageFormat1(RandomAccessFile raf)
          Creates new CoverageFormat1
 
Method Summary
 int findGlyph(int glyphId)
           
 int getFormat()
           
 
Methods inherited from class org.apache.batik.svggen.font.table.Coverage
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageFormat1

protected CoverageFormat1(RandomAccessFile raf)
                   throws IOException
Creates new CoverageFormat1

Throws:
IOException
Method Detail

getFormat

public int getFormat()
Specified by:
getFormat in class Coverage

findGlyph

public int findGlyph(int glyphId)
Specified by:
findGlyph in class Coverage
Parameters:
glyphId - The ID of the glyph to find.
Returns:
The index of the glyph within the coverage, or -1 if the glyph can't be found.


Copyright © 2008 Apache Software Foundation. All Rights Reserved.