Class FT_SVG_Document.Buffer

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

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

    • Buffer

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

    • 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.
    • 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.