Package org.lwjgl.util.freetype
Class TT_Postscript
- All Implemented Interfaces:
Pointer
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;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionTT_Postscript
(ByteBuffer container) Creates aTT_Postscript
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic TT_Postscript
create
(long address) Returns a newTT_Postscript
instance for the specified memory address.static TT_Postscript.Buffer
create
(long address, int capacity) Create aTT_Postscript.Buffer
instance at the specified memory.static @Nullable TT_Postscript
createSafe
(long address) static @Nullable TT_Postscript.Buffer
createSafe
(long address, int capacity) long
long
long
long
long
long
long
static long
nFormatType
(long struct) Unsafe version ofFormatType()
.static long
nisFixedPitch
(long struct) Unsafe version ofisFixedPitch()
.static long
nitalicAngle
(long struct) Unsafe version ofitalicAngle()
.static long
nmaxMemType1
(long struct) Unsafe version ofmaxMemType1()
.static long
nmaxMemType42
(long struct) Unsafe version ofmaxMemType42()
.static long
nminMemType1
(long struct) Unsafe version ofminMemType1()
.static long
nminMemType42
(long struct) Unsafe version ofminMemType42()
.static short
nunderlinePosition
(long struct) Unsafe version ofunderlinePosition()
.static short
nunderlineThickness
(long struct) Unsafe version ofunderlineThickness()
.int
sizeof()
Returnssizeof(struct)
.short
short
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FORMATTYPE
public static final int FORMATTYPEThe struct member offsets. -
ITALICANGLE
public static final int ITALICANGLEThe struct member offsets. -
UNDERLINEPOSITION
public static final int UNDERLINEPOSITIONThe struct member offsets. -
UNDERLINETHICKNESS
public static final int UNDERLINETHICKNESSThe struct member offsets. -
ISFIXEDPITCH
public static final int ISFIXEDPITCHThe struct member offsets. -
MINMEMTYPE42
public static final int MINMEMTYPE42The struct member offsets. -
MAXMEMTYPE42
public static final int MAXMEMTYPE42The struct member offsets. -
MINMEMTYPE1
public static final int MINMEMTYPE1The struct member offsets. -
MAXMEMTYPE1
public static final int MAXMEMTYPE1The struct member offsets.
-
-
Constructor Details
-
TT_Postscript
Creates aTT_Postscript
instance at the current position of the specifiedByteBuffer
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
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<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
Returns a newTT_Postscript
instance for the specified memory address. -
createSafe
-
create
Create aTT_Postscript.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nFormatType
public static long nFormatType(long struct) Unsafe version ofFormatType()
. -
nitalicAngle
public static long nitalicAngle(long struct) Unsafe version ofitalicAngle()
. -
nunderlinePosition
public static short nunderlinePosition(long struct) Unsafe version ofunderlinePosition()
. -
nunderlineThickness
public static short nunderlineThickness(long struct) Unsafe version ofunderlineThickness()
. -
nisFixedPitch
public static long nisFixedPitch(long struct) Unsafe version ofisFixedPitch()
. -
nminMemType42
public static long nminMemType42(long struct) Unsafe version ofminMemType42()
. -
nmaxMemType42
public static long nmaxMemType42(long struct) Unsafe version ofmaxMemType42()
. -
nminMemType1
public static long nminMemType1(long struct) Unsafe version ofminMemType1()
. -
nmaxMemType1
public static long nmaxMemType1(long struct) Unsafe version ofmaxMemType1()
.
-