Class FT_Affine23

All Implemented Interfaces:
Pointer

public class FT_Affine23 extends Struct<FT_Affine23>

 struct FT_Affine23 {
     FT_Fixed xx;
     FT_Fixed xy;
     FT_Fixed dx;
     FT_Fixed yx;
     FT_Fixed yy;
     FT_Fixed dy;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int XX
      The struct member offsets.
    • XY

      public static final int XY
      The struct member offsets.
    • DX

      public static final int DX
      The struct member offsets.
    • YX

      public static final int YX
      The struct member offsets.
    • YY

      public static final int YY
      The struct member offsets.
    • DY

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

    • FT_Affine23

      public FT_Affine23(ByteBuffer container)
      Creates a FT_Affine23 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<FT_Affine23>
    • xx

      public long xx()
      Returns:
      the value of the xx field.
    • xy

      public long xy()
      Returns:
      the value of the xy field.
    • dx

      public long dx()
      Returns:
      the value of the dx field.
    • yx

      public long yx()
      Returns:
      the value of the yx field.
    • yy

      public long yy()
      Returns:
      the value of the yy field.
    • dy

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

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

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

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

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

      public static long nxx(long struct)
      Unsafe version of xx().
    • nxy

      public static long nxy(long struct)
      Unsafe version of xy().
    • ndx

      public static long ndx(long struct)
      Unsafe version of dx().
    • nyx

      public static long nyx(long struct)
      Unsafe version of yx().
    • nyy

      public static long nyy(long struct)
      Unsafe version of yy().
    • ndy

      public static long ndy(long struct)
      Unsafe version of dy().