Class GlyfSimpleDescript

  • All Implemented Interfaces:
    GlyphDescription

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

      • endPtsOfContours

        private int[] endPtsOfContours
      • flags

        private byte[] flags
      • xCoordinates

        private short[] xCoordinates
      • yCoordinates

        private short[] yCoordinates
      • count

        private int count
    • Constructor Detail

      • GlyfSimpleDescript

        public GlyfSimpleDescript​(GlyfTable parentTable,
                                  short numberOfContours,
                                  java.io.ByteArrayInputStream bais)
    • Method Detail

      • 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,
                                java.io.ByteArrayInputStream bais)
        The table is stored as relative values, but we'll store them as absolutes
      • readFlags

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