Class TT_OS2.Buffer

All Implemented Interfaces:
Iterable<TT_OS2>, Pointer
Enclosing class:
TT_OS2

public static class TT_OS2.Buffer extends StructBuffer<TT_OS2, TT_OS2.Buffer>
An array of TT_OS2 structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new TT_OS2.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by TT_OS2.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • version

      @NativeType("FT_UShort") public short version()
      Returns:
      the value of the version field.
    • xAvgCharWidth

      @NativeType("FT_Short") public short xAvgCharWidth()
      Returns:
      the value of the xAvgCharWidth field.
    • usWeightClass

      @NativeType("FT_UShort") public short usWeightClass()
      Returns:
      the value of the usWeightClass field.
    • usWidthClass

      @NativeType("FT_UShort") public short usWidthClass()
      Returns:
      the value of the usWidthClass field.
    • fsType

      @NativeType("FT_UShort") public short fsType()
      Returns:
      the value of the fsType field.
    • ySubscriptXSize

      @NativeType("FT_Short") public short ySubscriptXSize()
      Returns:
      the value of the ySubscriptXSize field.
    • ySubscriptYSize

      @NativeType("FT_Short") public short ySubscriptYSize()
      Returns:
      the value of the ySubscriptYSize field.
    • ySubscriptXOffset

      @NativeType("FT_Short") public short ySubscriptXOffset()
      Returns:
      the value of the ySubscriptXOffset field.
    • ySubscriptYOffset

      @NativeType("FT_Short") public short ySubscriptYOffset()
      Returns:
      the value of the ySubscriptYOffset field.
    • ySuperscriptXSize

      @NativeType("FT_Short") public short ySuperscriptXSize()
      Returns:
      the value of the ySuperscriptXSize field.
    • ySuperscriptYSize

      @NativeType("FT_Short") public short ySuperscriptYSize()
      Returns:
      the value of the ySuperscriptYSize field.
    • ySuperscriptXOffset

      @NativeType("FT_Short") public short ySuperscriptXOffset()
      Returns:
      the value of the ySuperscriptXOffset field.
    • ySuperscriptYOffset

      @NativeType("FT_Short") public short ySuperscriptYOffset()
      Returns:
      the value of the ySuperscriptYOffset field.
    • yStrikeoutSize

      @NativeType("FT_Short") public short yStrikeoutSize()
      Returns:
      the value of the yStrikeoutSize field.
    • yStrikeoutPosition

      @NativeType("FT_Short") public short yStrikeoutPosition()
      Returns:
      the value of the yStrikeoutPosition field.
    • sFamilyClass

      @NativeType("FT_Short") public short sFamilyClass()
      Returns:
      the value of the sFamilyClass field.
    • panose

      @NativeType("FT_Byte[10]") public ByteBuffer panose()
      Returns:
      a ByteBuffer view of the panose field.
    • panose

      @NativeType("FT_Byte") public byte panose(int index)
      Returns:
      the value at the specified index of the panose field.
    • ulUnicodeRange1

      @NativeType("FT_ULong") public long ulUnicodeRange1()
      Returns:
      the value of the ulUnicodeRange1 field.
    • ulUnicodeRange2

      @NativeType("FT_ULong") public long ulUnicodeRange2()
      Returns:
      the value of the ulUnicodeRange2 field.
    • ulUnicodeRange3

      @NativeType("FT_ULong") public long ulUnicodeRange3()
      Returns:
      the value of the ulUnicodeRange3 field.
    • ulUnicodeRange4

      @NativeType("FT_ULong") public long ulUnicodeRange4()
      Returns:
      the value of the ulUnicodeRange4 field.
    • achVendID

      @NativeType("FT_Char[4]") public ByteBuffer achVendID()
      Returns:
      a ByteBuffer view of the achVendID field.
    • achVendID

      @NativeType("FT_Char") public byte achVendID(int index)
      Returns:
      the value at the specified index of the achVendID field.
    • fsSelection

      @NativeType("FT_UShort") public short fsSelection()
      Returns:
      the value of the fsSelection field.
    • usFirstCharIndex

      @NativeType("FT_UShort") public short usFirstCharIndex()
      Returns:
      the value of the usFirstCharIndex field.
    • usLastCharIndex

      @NativeType("FT_UShort") public short usLastCharIndex()
      Returns:
      the value of the usLastCharIndex field.
    • sTypoAscender

      @NativeType("FT_Short") public short sTypoAscender()
      Returns:
      the value of the sTypoAscender field.
    • sTypoDescender

      @NativeType("FT_Short") public short sTypoDescender()
      Returns:
      the value of the sTypoDescender field.
    • sTypoLineGap

      @NativeType("FT_Short") public short sTypoLineGap()
      Returns:
      the value of the sTypoLineGap field.
    • usWinAscent

      @NativeType("FT_UShort") public short usWinAscent()
      Returns:
      the value of the usWinAscent field.
    • usWinDescent

      @NativeType("FT_UShort") public short usWinDescent()
      Returns:
      the value of the usWinDescent field.
    • ulCodePageRange1

      @NativeType("FT_ULong") public long ulCodePageRange1()
      Returns:
      the value of the ulCodePageRange1 field.
    • ulCodePageRange2

      @NativeType("FT_ULong") public long ulCodePageRange2()
      Returns:
      the value of the ulCodePageRange2 field.
    • sxHeight

      @NativeType("FT_Short") public short sxHeight()
      Returns:
      the value of the sxHeight field.
    • sCapHeight

      @NativeType("FT_Short") public short sCapHeight()
      Returns:
      the value of the sCapHeight field.
    • usDefaultChar

      @NativeType("FT_UShort") public short usDefaultChar()
      Returns:
      the value of the usDefaultChar field.
    • usBreakChar

      @NativeType("FT_UShort") public short usBreakChar()
      Returns:
      the value of the usBreakChar field.
    • usMaxContext

      @NativeType("FT_UShort") public short usMaxContext()
      Returns:
      the value of the usMaxContext field.
    • usLowerOpticalPointSize

      @NativeType("FT_UShort") public short usLowerOpticalPointSize()
      Returns:
      the value of the usLowerOpticalPointSize field.
    • usUpperOpticalPointSize

      @NativeType("FT_UShort") public short usUpperOpticalPointSize()
      Returns:
      the value of the usUpperOpticalPointSize field.