Top Fields Constructors Methods
jogamp.graph.font.typecast.ot.table

public Class GlyfSimpleDescript

extends GlyfDescript
Class Inheritance
Imports
java.io.DataInput, .IOException, jogamp.graph.font.typecast.ot.Disassembler

Author
David Schweinsberg
Version
$Id: GlyfSimpleDescript.java,v 1.3 2007-01-24 09:47:47 davidsch Exp $

Field Summary

Modifier and TypeField and Description
private final int
private final int[]
private final byte[]
private final short[]
private final short[]
Inherited from jogamp.graph.font.typecast.ot.table.GlyfDescript:
_parentTableonCurverepeatxDualxShortVectoryDualyShortVector

Constructor Summary

AccessConstructor and Description
public
GlyfSimpleDescript(final GlyfTable parentTable, final int glyphIndex, final short numberOfContours, final DataInput di)

Method Summary

Modifier and TypeMethod and Description
public int
public int
public byte
public int
public short
public short
public boolean
private void
readCoords(final int count, final DataInput di)

The table is stored as relative values, but we'll store them as absolutes

private void
readFlags(final int flagCount, final DataInput di)

The flags are run-length encoded

public String
toString()

Overrides jogamp.graph.font.typecast.ot.table.GlyfDescript.toString.

Returns a string representation of the object.
Inherited from jogamp.graph.font.typecast.ot.table.GlyfDescript:
getGlyphIndexgetNumberOfContoursgetXMaximumgetXMinimumgetYMaximumgetYMinimum

Field Detail

_countback to summary
private final int _count
_endPtsOfContoursback to summary
private final int[] _endPtsOfContours
_flagsback to summary
private final byte[] _flags
_xCoordinatesback to summary
private final short[] _xCoordinates
_yCoordinatesback to summary
private final short[] _yCoordinates

Constructor Detail

GlyfSimpleDescriptback to summary
public GlyfSimpleDescript(final GlyfTable parentTable, final int glyphIndex, final short numberOfContours, final DataInput di) throws IOException

Method Detail

getContourCountback to summary
public int getContourCount()

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.getContourCount.

Annotations
@Override
getEndPtOfContoursback to summary
public int getEndPtOfContours(final int i)

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.getEndPtOfContours.

Annotations
@Override
getFlagsback to summary
public byte getFlags(final int i)

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.getFlags.

Annotations
@Override
getPointCountback to summary
public int getPointCount()

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.getPointCount.

Annotations
@Override
getXCoordinateback to summary
public short getXCoordinate(final int i)

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.getXCoordinate.

Annotations
@Override
getYCoordinateback to summary
public short getYCoordinate(final int i)

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.getYCoordinate.

Annotations
@Override
isCompositeback to summary
public boolean isComposite()

Implements jogamp.graph.font.typecast.ot.table.GlyphDescription.isComposite.

Annotations
@Override
readCoordsback to summary
private void readCoords(final int count, final DataInput di) throws IOException

The table is stored as relative values, but we'll store them as absolutes

readFlagsback to summary
private void readFlags(final int flagCount, final DataInput di) throws IOException

The flags are run-length encoded

toStringback to summary
public String toString()

Overrides jogamp.graph.font.typecast.ot.table.GlyfDescript.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override