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.Bufferinstance 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, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newTT_Header.Bufferinstance 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_Versionfield.
-
Font_Revision
public long Font_Revision()- Returns:
- the value of the
Font_Revisionfield.
-
CheckSum_Adjust
public long CheckSum_Adjust()- Returns:
- the value of the
CheckSum_Adjustfield.
-
Magic_Number
public long Magic_Number()- Returns:
- the value of the
Magic_Numberfield.
-
Flags
public short Flags()- Returns:
- the value of the
Flagsfield.
-
Units_Per_EM
public short Units_Per_EM()- Returns:
- the value of the
Units_Per_EMfield.
-
Created
- Returns:
- a
CLongBufferview of theCreatedfield.
-
Created
public long Created(int index) - Returns:
- the value at the specified index of the
Createdfield.
-
Modified
- Returns:
- a
CLongBufferview of theModifiedfield.
-
Modified
public long Modified(int index) - Returns:
- the value at the specified index of the
Modifiedfield.
-
xMin
public short xMin()- Returns:
- the value of the
xMinfield.
-
yMin
public short yMin()- Returns:
- the value of the
yMinfield.
-
xMax
public short xMax()- Returns:
- the value of the
xMaxfield.
-
yMax
public short yMax()- Returns:
- the value of the
yMaxfield.
-
Mac_Style
public short Mac_Style()- Returns:
- the value of the
Mac_Stylefield.
-
Lowest_Rec_PPEM
public short Lowest_Rec_PPEM()- Returns:
- the value of the
Lowest_Rec_PPEMfield.
-
Font_Direction
public short Font_Direction()- Returns:
- the value of the
Font_Directionfield.
-
Index_To_Loc_Format
public short Index_To_Loc_Format()- Returns:
- the value of the
Index_To_Loc_Formatfield.
-
Glyph_Data_Format
public short Glyph_Data_Format()- Returns:
- the value of the
Glyph_Data_Formatfield.
-