org.extex.font.format.xtf.tables
Class TtfTableHDMX.DeviceRecord

java.lang.Object
  extended by org.extex.font.format.xtf.tables.TtfTableHDMX.DeviceRecord
All Implemented Interfaces:
XMLWriterConvertible
Enclosing class:
TtfTableHDMX

public class TtfTableHDMX.DeviceRecord
extends java.lang.Object
implements XMLWriterConvertible

the device record


Constructor Summary
TtfTableHDMX.DeviceRecord(RandomAccessR rar, int numberOfGlyphs)
          Create a new object.
 
Method Summary
 int getMaxWidth()
          Returns the maxWidth.
 int getPixelSize()
          Returns the pixelSize.
 byte[] getWidths()
          Returns the widths.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TtfTableHDMX.DeviceRecord

public TtfTableHDMX.DeviceRecord(RandomAccessR rar,
                                 int numberOfGlyphs)
                          throws java.io.IOException
Create a new object.

Parameters:
rar - the input
numberOfGlyphs - the number of glyphs
Throws:
java.io.IOException - if an IO-error occurred.
Method Detail

getMaxWidth

public int getMaxWidth()
Returns the maxWidth.

Returns:
Returns the maxWidth.

getPixelSize

public int getPixelSize()
Returns the pixelSize.

Returns:
Returns the pixelSize.

getWidths

public byte[] getWidths()
Returns the widths.

Returns:
Returns the widths.

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Write the data to a XMLStreamWriter.

Specified by:
writeXML in interface XMLWriterConvertible
Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML( org.extex.util.xml.XMLStreamWriter)