Class TT_Header.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new TT_Header.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_Header.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

    • Table_Version

      @NativeType("FT_Fixed") public long Table_Version()
      Returns:
      the value of the Table_Version field.
    • Font_Revision

      @NativeType("FT_Fixed") public long Font_Revision()
      Returns:
      the value of the Font_Revision field.
    • CheckSum_Adjust

      @NativeType("FT_Long") public long CheckSum_Adjust()
      Returns:
      the value of the CheckSum_Adjust field.
    • Magic_Number

      @NativeType("FT_Long") public long Magic_Number()
      Returns:
      the value of the Magic_Number field.
    • Flags

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

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

      @NativeType("FT_ULong[2]") public CLongBuffer Created()
      Returns:
      a CLongBuffer view of the Created field.
    • Created

      @NativeType("FT_ULong") public long Created(int index)
      Returns:
      the value at the specified index of the Created field.
    • Modified

      @NativeType("FT_ULong[2]") public CLongBuffer Modified()
      Returns:
      a CLongBuffer view of the Modified field.
    • Modified

      @NativeType("FT_ULong") public long Modified(int index)
      Returns:
      the value at the specified index of the Modified field.
    • xMin

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

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

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

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

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

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

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

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

      @NativeType("FT_Short") public short Glyph_Data_Format()
      Returns:
      the value of the Glyph_Data_Format field.