Package org.lwjgl.util.freetype
Class TT_Header.Buffer
- Enclosing class:
TT_Header
An array of
TT_Header
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newTT_Header.Buffer
instance backed by the specified container. -
Method Summary
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newTT_Header.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
TT_Header.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
Table_Version
public long Table_Version()- Returns:
- the value of the
Table_Version
field.
-
Font_Revision
public long Font_Revision()- Returns:
- the value of the
Font_Revision
field.
-
CheckSum_Adjust
public long CheckSum_Adjust()- Returns:
- the value of the
CheckSum_Adjust
field.
-
Magic_Number
public long Magic_Number()- Returns:
- the value of the
Magic_Number
field.
-
Flags
public short Flags()- Returns:
- the value of the
Flags
field.
-
Units_Per_EM
public short Units_Per_EM()- Returns:
- the value of the
Units_Per_EM
field.
-
Created
- Returns:
- a
CLongBuffer
view of theCreated
field.
-
Created
public long Created(int index) - Returns:
- the value at the specified index of the
Created
field.
-
Modified
- Returns:
- a
CLongBuffer
view of theModified
field.
-
Modified
public long Modified(int index) - Returns:
- the value at the specified index of the
Modified
field.
-
xMin
public short xMin()- Returns:
- the value of the
xMin
field.
-
yMin
public short yMin()- Returns:
- the value of the
yMin
field.
-
xMax
public short xMax()- Returns:
- the value of the
xMax
field.
-
yMax
public short yMax()- Returns:
- the value of the
yMax
field.
-
Mac_Style
public short Mac_Style()- Returns:
- the value of the
Mac_Style
field.
-
Lowest_Rec_PPEM
public short Lowest_Rec_PPEM()- Returns:
- the value of the
Lowest_Rec_PPEM
field.
-
Font_Direction
public short Font_Direction()- Returns:
- the value of the
Font_Direction
field.
-
Index_To_Loc_Format
public short Index_To_Loc_Format()- Returns:
- the value of the
Index_To_Loc_Format
field.
-
Glyph_Data_Format
public short Glyph_Data_Format()- Returns:
- the value of the
Glyph_Data_Format
field.
-