Class FT_SvgGlyph.Buffer

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

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

    • Buffer

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

    • root

      public FT_Glyph root()
      Returns:
      a FT_Glyph view of the root field.
    • svg_document

      public ByteBuffer svg_document()
      Returns:
      a ByteBuffer view of the data pointed to by the svg_document field.
    • svg_document_length

      public long svg_document_length()
      Returns:
      the value of the svg_document_length field.
    • glyph_index

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

      public FT_Size_Metrics metrics()
      Returns:
      a FT_Size_Metrics view of the metrics field.
    • units_per_EM

      public short units_per_EM()
      Returns:
      the value of the units_per_EM field.
    • start_glyph_id

      public short start_glyph_id()
      Returns:
      the value of the start_glyph_id field.
    • end_glyph_id

      public short end_glyph_id()
      Returns:
      the value of the end_glyph_id field.
    • transform

      public FT_Matrix transform()
      Returns:
      a FT_Matrix view of the transform field.
    • delta

      public FT_Vector delta()
      Returns:
      a FT_Vector view of the delta field.