Package org.lwjgl.util.freetype
Class PS_Private.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<PS_Private.Buffer>
org.lwjgl.system.StructBuffer<PS_Private,PS_Private.Buffer>
org.lwjgl.util.freetype.PS_Private.Buffer
- All Implemented Interfaces:
Iterable<PS_Private>
,Pointer
- Enclosing class:
PS_Private
An array of
PS_Private
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 newPS_Private.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
short
blue_values
(int index) long
short
family_blues
(int index) short
family_other_blues
(int index) boolean
long
int
lenIV()
short
min_feature
(int index) byte
byte
byte
byte
byte
byte
short
other_blues
(int index) long
password()
boolean
short
snap_heights
(int index) short
snap_widths
(int index) short
standard_height
(int index) short
standard_width
(int index) int
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 newPS_Private.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
PS_Private.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
-
unique_id
public int unique_id()- Returns:
- the value of the
unique_id
field.
-
lenIV
public int lenIV()- Returns:
- the value of the
lenIV
field.
-
num_blue_values
public byte num_blue_values()- Returns:
- the value of the
num_blue_values
field.
-
num_other_blues
public byte num_other_blues()- Returns:
- the value of the
num_other_blues
field.
-
num_family_blues
public byte num_family_blues()- Returns:
- the value of the
num_family_blues
field.
-
num_family_other_blues
public byte num_family_other_blues()- Returns:
- the value of the
num_family_other_blues
field.
-
blue_values
- Returns:
- a
ShortBuffer
view of theblue_values
field.
-
blue_values
public short blue_values(int index) - Returns:
- the value at the specified index of the
blue_values
field.
-
other_blues
- Returns:
- a
ShortBuffer
view of theother_blues
field.
-
other_blues
public short other_blues(int index) - Returns:
- the value at the specified index of the
other_blues
field.
-
family_blues
- Returns:
- a
ShortBuffer
view of thefamily_blues
field.
-
family_blues
public short family_blues(int index) - Returns:
- the value at the specified index of the
family_blues
field.
-
family_other_blues
- Returns:
- a
ShortBuffer
view of thefamily_other_blues
field.
-
family_other_blues
public short family_other_blues(int index) - Returns:
- the value at the specified index of the
family_other_blues
field.
-
blue_scale
public long blue_scale()- Returns:
- the value of the
blue_scale
field.
-
blue_shift
public int blue_shift()- Returns:
- the value of the
blue_shift
field.
-
blue_fuzz
public int blue_fuzz()- Returns:
- the value of the
blue_fuzz
field.
-
standard_width
- Returns:
- a
ShortBuffer
view of thestandard_width
field.
-
standard_width
public short standard_width(int index) - Returns:
- the value at the specified index of the
standard_width
field.
-
standard_height
- Returns:
- a
ShortBuffer
view of thestandard_height
field.
-
standard_height
public short standard_height(int index) - Returns:
- the value at the specified index of the
standard_height
field.
-
num_snap_widths
public byte num_snap_widths()- Returns:
- the value of the
num_snap_widths
field.
-
num_snap_heights
public byte num_snap_heights()- Returns:
- the value of the
num_snap_heights
field.
-
force_bold
public boolean force_bold()- Returns:
- the value of the
force_bold
field.
-
round_stem_up
public boolean round_stem_up()- Returns:
- the value of the
round_stem_up
field.
-
snap_widths
- Returns:
- a
ShortBuffer
view of thesnap_widths
field.
-
snap_widths
public short snap_widths(int index) - Returns:
- the value at the specified index of the
snap_widths
field.
-
snap_heights
- Returns:
- a
ShortBuffer
view of thesnap_heights
field.
-
snap_heights
public short snap_heights(int index) - Returns:
- the value at the specified index of the
snap_heights
field.
-
expansion_factor
public long expansion_factor()- Returns:
- the value of the
expansion_factor
field.
-
language_group
public long language_group()- Returns:
- the value of the
language_group
field.
-
password
public long password()- Returns:
- the value of the
password
field.
-
min_feature
- Returns:
- a
ShortBuffer
view of themin_feature
field.
-
min_feature
public short min_feature(int index) - Returns:
- the value at the specified index of the
min_feature
field.
-