Package org.lwjgl.util.freetype
Class TT_PCLT
- All Implemented Interfaces:
Pointer
struct TT_PCLT {
FT_Fixed Version;
FT_ULong FontNumber;
FT_UShort Pitch;
FT_UShort xHeight;
FT_UShort Style;
FT_UShort TypeFamily;
FT_UShort CapHeight;
FT_UShort SymbolSet;
FT_Char TypeFace[16];
FT_Char CharacterComplement[8];
FT_Char FileName[6];
FT_Char StrokeWeight;
FT_Char WidthType;
FT_Byte SerifStyle;
FT_Byte Reserved;
}
-
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.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.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionTT_PCLT
(ByteBuffer container) Creates aTT_PCLT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionshort
byte
CharacterComplement
(int index) static TT_PCLT
create
(long address) Returns a newTT_PCLT
instance for the specified memory address.static TT_PCLT.Buffer
create
(long address, int capacity) Create aTT_PCLT.Buffer
instance at the specified memory.static @Nullable TT_PCLT
createSafe
(long address) static @Nullable TT_PCLT.Buffer
createSafe
(long address, int capacity) FileName()
byte
FileName
(int index) long
static short
nCapHeight
(long struct) Unsafe version ofCapHeight()
.static ByteBuffer
nCharacterComplement
(long struct) Unsafe version ofCharacterComplement()
.static byte
nCharacterComplement
(long struct, int index) Unsafe version ofCharacterComplement
.static ByteBuffer
nFileName
(long struct) Unsafe version ofFileName()
.static byte
nFileName
(long struct, int index) Unsafe version ofFileName
.static long
nFontNumber
(long struct) Unsafe version ofFontNumber()
.static short
nPitch
(long struct) Unsafe version ofPitch()
.static byte
nReserved
(long struct) Unsafe version ofReserved()
.static byte
nSerifStyle
(long struct) Unsafe version ofSerifStyle()
.static byte
nStrokeWeight
(long struct) Unsafe version ofStrokeWeight()
.static short
nStyle
(long struct) Unsafe version ofStyle()
.static short
nSymbolSet
(long struct) Unsafe version ofSymbolSet()
.static ByteBuffer
nTypeFace
(long struct) Unsafe version ofTypeFace()
.static byte
nTypeFace
(long struct, int index) Unsafe version ofTypeFace
.static short
nTypeFamily
(long struct) Unsafe version ofTypeFamily()
.static long
nVersion
(long struct) Unsafe version ofVersion()
.static byte
nWidthType
(long struct) Unsafe version ofWidthType()
.static short
nxHeight
(long struct) Unsafe version ofxHeight()
.short
Pitch()
byte
Reserved()
byte
int
sizeof()
Returnssizeof(struct)
.byte
short
Style()
short
TypeFace()
byte
TypeFace
(int index) short
long
Version()
byte
short
xHeight()
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. -
VERSION
public static final int VERSIONThe struct member offsets. -
FONTNUMBER
public static final int FONTNUMBERThe struct member offsets. -
PITCH
public static final int PITCHThe struct member offsets. -
XHEIGHT
public static final int XHEIGHTThe struct member offsets. -
STYLE
public static final int STYLEThe struct member offsets. -
TYPEFAMILY
public static final int TYPEFAMILYThe struct member offsets. -
CAPHEIGHT
public static final int CAPHEIGHTThe struct member offsets. -
SYMBOLSET
public static final int SYMBOLSETThe struct member offsets. -
TYPEFACE
public static final int TYPEFACEThe struct member offsets. -
CHARACTERCOMPLEMENT
public static final int CHARACTERCOMPLEMENTThe struct member offsets. -
FILENAME
public static final int FILENAMEThe struct member offsets. -
STROKEWEIGHT
public static final int STROKEWEIGHTThe struct member offsets. -
WIDTHTYPE
public static final int WIDTHTYPEThe struct member offsets. -
SERIFSTYLE
public static final int SERIFSTYLEThe struct member offsets. -
RESERVED
public static final int RESERVEDThe struct member offsets.
-
-
Constructor Details
-
TT_PCLT
Creates aTT_PCLT
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)
. -
Version
public long Version()- Returns:
- the value of the
Version
field.
-
FontNumber
public long FontNumber()- Returns:
- the value of the
FontNumber
field.
-
Pitch
public short Pitch()- Returns:
- the value of the
Pitch
field.
-
xHeight
public short xHeight()- Returns:
- the value of the
xHeight
field.
-
Style
public short Style()- Returns:
- the value of the
Style
field.
-
TypeFamily
public short TypeFamily()- Returns:
- the value of the
TypeFamily
field.
-
CapHeight
public short CapHeight()- Returns:
- the value of the
CapHeight
field.
-
SymbolSet
public short SymbolSet()- Returns:
- the value of the
SymbolSet
field.
-
TypeFace
- Returns:
- a
ByteBuffer
view of theTypeFace
field.
-
TypeFace
public byte TypeFace(int index) - Returns:
- the value at the specified index of the
TypeFace
field.
-
CharacterComplement
- Returns:
- a
ByteBuffer
view of theCharacterComplement
field.
-
CharacterComplement
public byte CharacterComplement(int index) - Returns:
- the value at the specified index of the
CharacterComplement
field.
-
FileName
- Returns:
- a
ByteBuffer
view of theFileName
field.
-
FileName
public byte FileName(int index) - Returns:
- the value at the specified index of the
FileName
field.
-
StrokeWeight
public byte StrokeWeight()- Returns:
- the value of the
StrokeWeight
field.
-
WidthType
public byte WidthType()- Returns:
- the value of the
WidthType
field.
-
SerifStyle
public byte SerifStyle()- Returns:
- the value of the
SerifStyle
field.
-
Reserved
public byte Reserved()- Returns:
- the value of the
Reserved
field.
-
create
Returns a newTT_PCLT
instance for the specified memory address. -
createSafe
-
create
Create aTT_PCLT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nVersion
public static long nVersion(long struct) Unsafe version ofVersion()
. -
nFontNumber
public static long nFontNumber(long struct) Unsafe version ofFontNumber()
. -
nPitch
public static short nPitch(long struct) Unsafe version ofPitch()
. -
nxHeight
public static short nxHeight(long struct) Unsafe version ofxHeight()
. -
nStyle
public static short nStyle(long struct) Unsafe version ofStyle()
. -
nTypeFamily
public static short nTypeFamily(long struct) Unsafe version ofTypeFamily()
. -
nCapHeight
public static short nCapHeight(long struct) Unsafe version ofCapHeight()
. -
nSymbolSet
public static short nSymbolSet(long struct) Unsafe version ofSymbolSet()
. -
nTypeFace
Unsafe version ofTypeFace()
. -
nTypeFace
public static byte nTypeFace(long struct, int index) Unsafe version ofTypeFace
. -
nCharacterComplement
Unsafe version ofCharacterComplement()
. -
nCharacterComplement
public static byte nCharacterComplement(long struct, int index) Unsafe version ofCharacterComplement
. -
nFileName
Unsafe version ofFileName()
. -
nFileName
public static byte nFileName(long struct, int index) Unsafe version ofFileName
. -
nStrokeWeight
public static byte nStrokeWeight(long struct) Unsafe version ofStrokeWeight()
. -
nWidthType
public static byte nWidthType(long struct) Unsafe version ofWidthType()
. -
nSerifStyle
public static byte nSerifStyle(long struct) Unsafe version ofSerifStyle()
. -
nReserved
public static byte nReserved(long struct) Unsafe version ofReserved()
.
-