예제 #1
0
        public static SegmentMaps Read(BinaryReaderFont reader)
        {
            SegmentMaps value = new SegmentMaps {
                positionMapCount = reader.ReadUInt16()
            };

            value.axisValueMaps = AxisValueMap.ReadArray(reader, value.positionMapCount);
            return(value);
        }
예제 #2
0
 public static AxisValueMap[] ReadArray(BinaryReaderFont reader, int count)
 {
     AxisValueMap[] array = new AxisValueMap[count];
     for (int i = 0; i < count; i++)
     {
         array[i] = Read(reader);
     }
     return(array);
 }