Class FT_Face.Buffer

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

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

    • Buffer

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

    • num_faces

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

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

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

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

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

      @NativeType("FT_String *") public ByteBuffer family_name()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the family_name field.
    • family_nameString

      @NativeType("FT_String *") public String family_nameString()
      Returns:
      the null-terminated string pointed to by the family_name field.
    • style_name

      @NativeType("FT_String *") public ByteBuffer style_name()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the style_name field.
    • style_nameString

      @NativeType("FT_String *") public String style_nameString()
      Returns:
      the null-terminated string pointed to by the style_name field.
    • num_fixed_sizes

      @NativeType("FT_Int") public int num_fixed_sizes()
      Returns:
      the value of the num_fixed_sizes field.
    • available_sizes

      @NativeType("FT_Bitmap_Size *") public @Nullable FT_Bitmap_Size.Buffer available_sizes()
      Returns:
      a FT_Bitmap_Size.Buffer view of the struct array pointed to by the available_sizes field.
    • num_charmaps

      @NativeType("FT_Int") public int num_charmaps()
      Returns:
      the value of the num_charmaps field.
    • charmaps

      @NativeType("FT_CharMap *") public PointerBuffer charmaps()
      Returns:
      a PointerBuffer view of the data pointed to by the charmaps field.
    • generic

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

      public FT_BBox bbox()
      Returns:
      a FT_BBox view of the bbox field.
    • units_per_EM

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

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

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

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

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

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

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

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

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

      public @Nullable FT_Size size()
      Returns:
      a FT_Size view of the struct pointed to by the size field.
    • charmap

      public @Nullable FT_CharMap charmap()
      Returns:
      a FT_CharMap view of the struct pointed to by the charmap field.