Package org.lwjgl.util.freetype
Class TT_VertHeader
- All Implemented Interfaces:
Pointer
struct TT_VertHeader {
FT_Fixed Version;
FT_Short Ascender;
FT_Short Descender;
FT_Short Line_Gap;
FT_UShort advance_Height_Max;
FT_Short min_Top_Side_Bearing;
FT_Short min_Bottom_Side_Bearing;
FT_Short yMax_Extent;
FT_Short caret_Slope_Rise;
FT_Short caret_Slope_Run;
FT_Short caret_Offset;
FT_Short Reserved[4];
FT_Short metric_Data_Format;
FT_UShort number_Of_VMetrics;
void * long_metrics;
void * short_metrics;
}
-
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 member offsets.static 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 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_VertHeader
(ByteBuffer container) Creates aTT_VertHeader
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionshort
short
Ascender()
short
short
short
static TT_VertHeader
create
(long address) Returns a newTT_VertHeader
instance for the specified memory address.static TT_VertHeader.Buffer
create
(long address, int capacity) Create aTT_VertHeader.Buffer
instance at the specified memory.static @Nullable TT_VertHeader
createSafe
(long address) static @Nullable TT_VertHeader.Buffer
createSafe
(long address, int capacity) short
short
Line_Gap()
@Nullable ByteBuffer
long_metrics
(int capacity) short
short
short
static short
nadvance_Height_Max
(long struct) Unsafe version ofadvance_Height_Max()
.static short
nAscender
(long struct) Unsafe version ofAscender()
.static short
ncaret_Offset
(long struct) Unsafe version ofcaret_Offset()
.static short
ncaret_Slope_Rise
(long struct) Unsafe version ofcaret_Slope_Rise()
.static short
ncaret_Slope_Run
(long struct) Unsafe version ofcaret_Slope_Run()
.static short
nDescender
(long struct) Unsafe version ofDescender()
.static short
nLine_Gap
(long struct) Unsafe version ofLine_Gap()
.static @Nullable ByteBuffer
nlong_metrics
(long struct, int capacity) Unsafe version oflong_metrics
.static short
nmetric_Data_Format
(long struct) Unsafe version ofmetric_Data_Format()
.static short
nmin_Bottom_Side_Bearing
(long struct) Unsafe version ofmin_Bottom_Side_Bearing()
.static short
nmin_Top_Side_Bearing
(long struct) Unsafe version ofmin_Top_Side_Bearing()
.static short
nnumber_Of_VMetrics
(long struct) Unsafe version ofnumber_Of_VMetrics()
.static ShortBuffer
nReserved
(long struct) Unsafe version ofReserved()
.static short
nReserved
(long struct, int index) Unsafe version ofReserved
.static @Nullable ByteBuffer
nshort_metrics
(long struct, int capacity) Unsafe version ofshort_metrics
.short
static long
nVersion
(long struct) Unsafe version ofVersion()
.static short
nyMax_Extent
(long struct) Unsafe version ofyMax_Extent()
.Reserved()
short
Reserved
(int index) @Nullable ByteBuffer
short_metrics
(int capacity) int
sizeof()
Returnssizeof(struct)
.long
Version()
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. -
VERSION
public static final int VERSIONThe struct member offsets. -
ASCENDER
public static final int ASCENDERThe struct member offsets. -
DESCENDER
public static final int DESCENDERThe struct member offsets. -
LINE_GAP
public static final int LINE_GAPThe struct member offsets. -
ADVANCE_HEIGHT_MAX
public static final int ADVANCE_HEIGHT_MAXThe struct member offsets. -
MIN_TOP_SIDE_BEARING
public static final int MIN_TOP_SIDE_BEARINGThe struct member offsets. -
MIN_BOTTOM_SIDE_BEARING
public static final int MIN_BOTTOM_SIDE_BEARINGThe struct member offsets. -
YMAX_EXTENT
public static final int YMAX_EXTENTThe struct member offsets. -
CARET_SLOPE_RISE
public static final int CARET_SLOPE_RISEThe struct member offsets. -
CARET_SLOPE_RUN
public static final int CARET_SLOPE_RUNThe struct member offsets. -
CARET_OFFSET
public static final int CARET_OFFSETThe struct member offsets. -
RESERVED
public static final int RESERVEDThe struct member offsets. -
METRIC_DATA_FORMAT
public static final int METRIC_DATA_FORMATThe struct member offsets. -
NUMBER_OF_VMETRICS
public static final int NUMBER_OF_VMETRICSThe struct member offsets. -
LONG_METRICS
public static final int LONG_METRICSThe struct member offsets. -
SHORT_METRICS
public static final int SHORT_METRICSThe struct member offsets.
-
-
Constructor Details
-
TT_VertHeader
Creates aTT_VertHeader
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_VertHeader>
-
Version
public long Version()- Returns:
- the value of the
Version
field.
-
Ascender
public short Ascender()- Returns:
- the value of the
Ascender
field.
-
Descender
public short Descender()- Returns:
- the value of the
Descender
field.
-
Line_Gap
public short Line_Gap()- Returns:
- the value of the
Line_Gap
field.
-
advance_Height_Max
public short advance_Height_Max()- Returns:
- the value of the
advance_Height_Max
field.
-
min_Top_Side_Bearing
public short min_Top_Side_Bearing()- Returns:
- the value of the
min_Top_Side_Bearing
field.
-
min_Bottom_Side_Bearing
public short min_Bottom_Side_Bearing()- Returns:
- the value of the
min_Bottom_Side_Bearing
field.
-
yMax_Extent
public short yMax_Extent()- Returns:
- the value of the
yMax_Extent
field.
-
caret_Slope_Rise
public short caret_Slope_Rise()- Returns:
- the value of the
caret_Slope_Rise
field.
-
caret_Slope_Run
public short caret_Slope_Run()- Returns:
- the value of the
caret_Slope_Run
field.
-
caret_Offset
public short caret_Offset()- Returns:
- the value of the
caret_Offset
field.
-
Reserved
- Returns:
- a
ShortBuffer
view of theReserved
field.
-
Reserved
public short Reserved(int index) - Returns:
- the value at the specified index of the
Reserved
field.
-
metric_Data_Format
public short metric_Data_Format()- Returns:
- the value of the
metric_Data_Format
field.
-
number_Of_VMetrics
public short number_Of_VMetrics()- Returns:
- the value of the
number_Of_VMetrics
field.
-
long_metrics
- Returns:
- a
ByteBuffer
view of the data pointed to by thelong_metrics
field.
-
short_metrics
- Returns:
- a
ByteBuffer
view of the data pointed to by theshort_metrics
field.
-
create
Returns a newTT_VertHeader
instance for the specified memory address. -
createSafe
-
create
Create aTT_VertHeader.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()
. -
nAscender
public static short nAscender(long struct) Unsafe version ofAscender()
. -
nDescender
public static short nDescender(long struct) Unsafe version ofDescender()
. -
nLine_Gap
public static short nLine_Gap(long struct) Unsafe version ofLine_Gap()
. -
nadvance_Height_Max
public static short nadvance_Height_Max(long struct) Unsafe version ofadvance_Height_Max()
. -
nmin_Top_Side_Bearing
public static short nmin_Top_Side_Bearing(long struct) Unsafe version ofmin_Top_Side_Bearing()
. -
nmin_Bottom_Side_Bearing
public static short nmin_Bottom_Side_Bearing(long struct) Unsafe version ofmin_Bottom_Side_Bearing()
. -
nyMax_Extent
public static short nyMax_Extent(long struct) Unsafe version ofyMax_Extent()
. -
ncaret_Slope_Rise
public static short ncaret_Slope_Rise(long struct) Unsafe version ofcaret_Slope_Rise()
. -
ncaret_Slope_Run
public static short ncaret_Slope_Run(long struct) Unsafe version ofcaret_Slope_Run()
. -
ncaret_Offset
public static short ncaret_Offset(long struct) Unsafe version ofcaret_Offset()
. -
nReserved
Unsafe version ofReserved()
. -
nReserved
public static short nReserved(long struct, int index) Unsafe version ofReserved
. -
nmetric_Data_Format
public static short nmetric_Data_Format(long struct) Unsafe version ofmetric_Data_Format()
. -
nnumber_Of_VMetrics
public static short nnumber_Of_VMetrics(long struct) Unsafe version ofnumber_Of_VMetrics()
. -
nlong_metrics
Unsafe version oflong_metrics
. -
nshort_metrics
Unsafe version ofshort_metrics
.
-