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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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_PCLTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionshortbyteCharacterComplement(int index) static TT_PCLTcreate(long address) Returns a newTT_PCLTinstance for the specified memory address.static TT_PCLT.Buffercreate(long address, int capacity) Create aTT_PCLT.Bufferinstance at the specified memory.static @Nullable TT_PCLTcreateSafe(long address) static @Nullable TT_PCLT.BuffercreateSafe(long address, int capacity) FileName()byteFileName(int index) longstatic shortnCapHeight(long struct) Unsafe version ofCapHeight().static ByteBuffernCharacterComplement(long struct) Unsafe version ofCharacterComplement().static bytenCharacterComplement(long struct, int index) Unsafe version ofCharacterComplement.static ByteBuffernFileName(long struct) Unsafe version ofFileName().static bytenFileName(long struct, int index) Unsafe version ofFileName.static longnFontNumber(long struct) Unsafe version ofFontNumber().static shortnPitch(long struct) Unsafe version ofPitch().static bytenReserved(long struct) Unsafe version ofReserved().static bytenSerifStyle(long struct) Unsafe version ofSerifStyle().static bytenStrokeWeight(long struct) Unsafe version ofStrokeWeight().static shortnStyle(long struct) Unsafe version ofStyle().static shortnSymbolSet(long struct) Unsafe version ofSymbolSet().static ByteBuffernTypeFace(long struct) Unsafe version ofTypeFace().static bytenTypeFace(long struct, int index) Unsafe version ofTypeFace.static shortnTypeFamily(long struct) Unsafe version ofTypeFamily().static longnVersion(long struct) Unsafe version ofVersion().static bytenWidthType(long struct) Unsafe version ofWidthType().static shortnxHeight(long struct) Unsafe version ofxHeight().shortPitch()byteReserved()byteintsizeof()Returnssizeof(struct).byteshortStyle()shortTypeFace()byteTypeFace(int index) shortlongVersion()byteshortxHeight()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_PCLTinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct). -
Version
public long Version()- Returns:
- the value of the
Versionfield.
-
FontNumber
public long FontNumber()- Returns:
- the value of the
FontNumberfield.
-
Pitch
public short Pitch()- Returns:
- the value of the
Pitchfield.
-
xHeight
public short xHeight()- Returns:
- the value of the
xHeightfield.
-
Style
public short Style()- Returns:
- the value of the
Stylefield.
-
TypeFamily
public short TypeFamily()- Returns:
- the value of the
TypeFamilyfield.
-
CapHeight
public short CapHeight()- Returns:
- the value of the
CapHeightfield.
-
SymbolSet
public short SymbolSet()- Returns:
- the value of the
SymbolSetfield.
-
TypeFace
- Returns:
- a
ByteBufferview of theTypeFacefield.
-
TypeFace
public byte TypeFace(int index) - Returns:
- the value at the specified index of the
TypeFacefield.
-
CharacterComplement
- Returns:
- a
ByteBufferview of theCharacterComplementfield.
-
CharacterComplement
public byte CharacterComplement(int index) - Returns:
- the value at the specified index of the
CharacterComplementfield.
-
FileName
- Returns:
- a
ByteBufferview of theFileNamefield.
-
FileName
public byte FileName(int index) - Returns:
- the value at the specified index of the
FileNamefield.
-
StrokeWeight
public byte StrokeWeight()- Returns:
- the value of the
StrokeWeightfield.
-
WidthType
public byte WidthType()- Returns:
- the value of the
WidthTypefield.
-
SerifStyle
public byte SerifStyle()- Returns:
- the value of the
SerifStylefield.
-
Reserved
public byte Reserved()- Returns:
- the value of the
Reservedfield.
-
create
Returns a newTT_PCLTinstance for the specified memory address. -
createSafe
-
create
Create aTT_PCLT.Bufferinstance 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().
-