Class TT_Postscript

All Implemented Interfaces:
Pointer

public class TT_Postscript extends Struct<TT_Postscript>

 struct TT_Postscript {
     FT_Fixed FormatType;
     FT_Fixed italicAngle;
     FT_Short underlinePosition;
     FT_Short underlineThickness;
     FT_ULong isFixedPitch;
     FT_ULong minMemType42;
     FT_ULong maxMemType42;
     FT_ULong minMemType1;
     FT_ULong maxMemType1;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FORMATTYPE

      public static final int FORMATTYPE
      The struct member offsets.
    • ITALICANGLE

      public static final int ITALICANGLE
      The struct member offsets.
    • UNDERLINEPOSITION

      public static final int UNDERLINEPOSITION
      The struct member offsets.
    • UNDERLINETHICKNESS

      public static final int UNDERLINETHICKNESS
      The struct member offsets.
    • ISFIXEDPITCH

      public static final int ISFIXEDPITCH
      The struct member offsets.
    • MINMEMTYPE42

      public static final int MINMEMTYPE42
      The struct member offsets.
    • MAXMEMTYPE42

      public static final int MAXMEMTYPE42
      The struct member offsets.
    • MINMEMTYPE1

      public static final int MINMEMTYPE1
      The struct member offsets.
    • MAXMEMTYPE1

      public static final int MAXMEMTYPE1
      The struct member offsets.
  • Constructor Details

    • TT_Postscript

      public TT_Postscript(ByteBuffer container)
      Creates a TT_Postscript instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<TT_Postscript>
    • FormatType

      public long FormatType()
      Returns:
      the value of the FormatType field.
    • italicAngle

      public long italicAngle()
      Returns:
      the value of the italicAngle field.
    • underlinePosition

      public short underlinePosition()
      Returns:
      the value of the underlinePosition field.
    • underlineThickness

      public short underlineThickness()
      Returns:
      the value of the underlineThickness field.
    • isFixedPitch

      public long isFixedPitch()
      Returns:
      the value of the isFixedPitch field.
    • minMemType42

      public long minMemType42()
      Returns:
      the value of the minMemType42 field.
    • maxMemType42

      public long maxMemType42()
      Returns:
      the value of the maxMemType42 field.
    • minMemType1

      public long minMemType1()
      Returns:
      the value of the minMemType1 field.
    • maxMemType1

      public long maxMemType1()
      Returns:
      the value of the maxMemType1 field.
    • create

      public static TT_Postscript create(long address)
      Returns a new TT_Postscript instance for the specified memory address.
    • createSafe

      public static @Nullable TT_Postscript createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static TT_Postscript.Buffer create(long address, int capacity)
      Create a TT_Postscript.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable TT_Postscript.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • nFormatType

      public static long nFormatType(long struct)
      Unsafe version of FormatType().
    • nitalicAngle

      public static long nitalicAngle(long struct)
      Unsafe version of italicAngle().
    • nunderlinePosition

      public static short nunderlinePosition(long struct)
      Unsafe version of underlinePosition().
    • nunderlineThickness

      public static short nunderlineThickness(long struct)
      Unsafe version of underlineThickness().
    • nisFixedPitch

      public static long nisFixedPitch(long struct)
      Unsafe version of isFixedPitch().
    • nminMemType42

      public static long nminMemType42(long struct)
      Unsafe version of minMemType42().
    • nmaxMemType42

      public static long nmaxMemType42(long struct)
      Unsafe version of maxMemType42().
    • nminMemType1

      public static long nminMemType1(long struct)
      Unsafe version of minMemType1().
    • nmaxMemType1

      public static long nmaxMemType1(long struct)
      Unsafe version of maxMemType1().