Class TT_MaxProfile

All Implemented Interfaces:
Pointer

public class TT_MaxProfile extends Struct<TT_MaxProfile>

 struct TT_MaxProfile {
     FT_Fixed version;
     FT_UShort numGlyphs;
     FT_UShort maxPoints;
     FT_UShort maxContours;
     FT_UShort maxCompositePoints;
     FT_UShort maxCompositeContours;
     FT_UShort maxZones;
     FT_UShort maxTwilightPoints;
     FT_UShort maxStorage;
     FT_UShort maxFunctionDefs;
     FT_UShort maxInstructionDefs;
     FT_UShort maxStackElements;
     FT_UShort maxSizeOfInstructions;
     FT_UShort maxComponentElements;
     FT_UShort maxComponentDepth;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int VERSION
      The struct member offsets.
    • NUMGLYPHS

      public static final int NUMGLYPHS
      The struct member offsets.
    • MAXPOINTS

      public static final int MAXPOINTS
      The struct member offsets.
    • MAXCONTOURS

      public static final int MAXCONTOURS
      The struct member offsets.
    • MAXCOMPOSITEPOINTS

      public static final int MAXCOMPOSITEPOINTS
      The struct member offsets.
    • MAXCOMPOSITECONTOURS

      public static final int MAXCOMPOSITECONTOURS
      The struct member offsets.
    • MAXZONES

      public static final int MAXZONES
      The struct member offsets.
    • MAXTWILIGHTPOINTS

      public static final int MAXTWILIGHTPOINTS
      The struct member offsets.
    • MAXSTORAGE

      public static final int MAXSTORAGE
      The struct member offsets.
    • MAXFUNCTIONDEFS

      public static final int MAXFUNCTIONDEFS
      The struct member offsets.
    • MAXINSTRUCTIONDEFS

      public static final int MAXINSTRUCTIONDEFS
      The struct member offsets.
    • MAXSTACKELEMENTS

      public static final int MAXSTACKELEMENTS
      The struct member offsets.
    • MAXSIZEOFINSTRUCTIONS

      public static final int MAXSIZEOFINSTRUCTIONS
      The struct member offsets.
    • MAXCOMPONENTELEMENTS

      public static final int MAXCOMPONENTELEMENTS
      The struct member offsets.
    • MAXCOMPONENTDEPTH

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

    • TT_MaxProfile

      public TT_MaxProfile(ByteBuffer container)
      Creates a TT_MaxProfile 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_MaxProfile>
    • version

      public long version()
      Returns:
      the value of the version field.
    • numGlyphs

      public short numGlyphs()
      Returns:
      the value of the numGlyphs field.
    • maxPoints

      public short maxPoints()
      Returns:
      the value of the maxPoints field.
    • maxContours

      public short maxContours()
      Returns:
      the value of the maxContours field.
    • maxCompositePoints

      public short maxCompositePoints()
      Returns:
      the value of the maxCompositePoints field.
    • maxCompositeContours

      public short maxCompositeContours()
      Returns:
      the value of the maxCompositeContours field.
    • maxZones

      public short maxZones()
      Returns:
      the value of the maxZones field.
    • maxTwilightPoints

      public short maxTwilightPoints()
      Returns:
      the value of the maxTwilightPoints field.
    • maxStorage

      public short maxStorage()
      Returns:
      the value of the maxStorage field.
    • maxFunctionDefs

      public short maxFunctionDefs()
      Returns:
      the value of the maxFunctionDefs field.
    • maxInstructionDefs

      public short maxInstructionDefs()
      Returns:
      the value of the maxInstructionDefs field.
    • maxStackElements

      public short maxStackElements()
      Returns:
      the value of the maxStackElements field.
    • maxSizeOfInstructions

      public short maxSizeOfInstructions()
      Returns:
      the value of the maxSizeOfInstructions field.
    • maxComponentElements

      public short maxComponentElements()
      Returns:
      the value of the maxComponentElements field.
    • maxComponentDepth

      public short maxComponentDepth()
      Returns:
      the value of the maxComponentDepth field.
    • create

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

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

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

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

      public static long nversion(long struct)
      Unsafe version of version().
    • nnumGlyphs

      public static short nnumGlyphs(long struct)
      Unsafe version of numGlyphs().
    • nmaxPoints

      public static short nmaxPoints(long struct)
      Unsafe version of maxPoints().
    • nmaxContours

      public static short nmaxContours(long struct)
      Unsafe version of maxContours().
    • nmaxCompositePoints

      public static short nmaxCompositePoints(long struct)
      Unsafe version of maxCompositePoints().
    • nmaxCompositeContours

      public static short nmaxCompositeContours(long struct)
      Unsafe version of maxCompositeContours().
    • nmaxZones

      public static short nmaxZones(long struct)
      Unsafe version of maxZones().
    • nmaxTwilightPoints

      public static short nmaxTwilightPoints(long struct)
      Unsafe version of maxTwilightPoints().
    • nmaxStorage

      public static short nmaxStorage(long struct)
      Unsafe version of maxStorage().
    • nmaxFunctionDefs

      public static short nmaxFunctionDefs(long struct)
      Unsafe version of maxFunctionDefs().
    • nmaxInstructionDefs

      public static short nmaxInstructionDefs(long struct)
      Unsafe version of maxInstructionDefs().
    • nmaxStackElements

      public static short nmaxStackElements(long struct)
      Unsafe version of maxStackElements().
    • nmaxSizeOfInstructions

      public static short nmaxSizeOfInstructions(long struct)
      Unsafe version of maxSizeOfInstructions().
    • nmaxComponentElements

      public static short nmaxComponentElements(long struct)
      Unsafe version of maxComponentElements().
    • nmaxComponentDepth

      public static short nmaxComponentDepth(long struct)
      Unsafe version of maxComponentDepth().