Class GlyfSimpleDescript

All Implemented Interfaces:
GlyphDescription

public class GlyfSimpleDescript extends GlyfDescript
Version:
$Id: GlyfSimpleDescript.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

    • endPtsOfContours

      private int[] endPtsOfContours
    • flags

      private byte[] flags
    • xCoordinates

      private short[] xCoordinates
    • yCoordinates

      private short[] yCoordinates
    • count

      private int count
  • Constructor Details

  • Method Details

    • getEndPtOfContours

      public int getEndPtOfContours(int i)
    • getFlags

      public byte getFlags(int i)
    • getXCoordinate

      public short getXCoordinate(int i)
    • getYCoordinate

      public short getYCoordinate(int i)
    • isComposite

      public boolean isComposite()
    • getPointCount

      public int getPointCount()
    • getContourCount

      public int getContourCount()
    • readCoords

      private void readCoords(int count, ByteArrayInputStream bais)
      The table is stored as relative values, but we'll store them as absolutes
    • readFlags

      private void readFlags(int flagCount, ByteArrayInputStream bais)
      The flags are run-length encoded