Class FT_GlyphSlot.Buffer

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

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

    • Buffer

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

    • library

      public long library()
      Returns:
      the value of the library field.
    • face

      public FT_Face face()
      Returns:
      a FT_Face view of the struct pointed to by the face field.
    • next

      public @Nullable FT_GlyphSlot next()
      Returns:
      a FT_GlyphSlot view of the struct pointed to by the next field.
    • glyph_index

      public int glyph_index()
      Returns:
      the value of the glyph_index field.
    • generic

      public FT_Generic generic()
      Returns:
      a FT_Generic view of the generic field.
    • metrics

      public FT_Glyph_Metrics metrics()
      Returns:
      a FT_Glyph_Metrics view of the metrics field.
    • linearHoriAdvance

      public long linearHoriAdvance()
      Returns:
      the value of the linearHoriAdvance field.
    • linearVertAdvance

      public long linearVertAdvance()
      Returns:
      the value of the linearVertAdvance field.
    • advance

      public FT_Vector advance()
      Returns:
      a FT_Vector view of the advance field.
    • format

      public int format()
      Returns:
      the value of the format field.
    • bitmap

      public FT_Bitmap bitmap()
      Returns:
      a FT_Bitmap view of the bitmap field.
    • bitmap_left

      public int bitmap_left()
      Returns:
      the value of the bitmap_left field.
    • bitmap_top

      public int bitmap_top()
      Returns:
      the value of the bitmap_top field.
    • outline

      public FT_Outline outline()
      Returns:
      a FT_Outline view of the outline field.
    • lsb_delta

      public long lsb_delta()
      Returns:
      the value of the lsb_delta field.
    • rsb_delta

      public long rsb_delta()
      Returns:
      the value of the rsb_delta field.