Package org.lwjgl.util.freetype
Class PS_Private
- All Implemented Interfaces:
Pointer
struct PS_PrivateRec {
FT_Int unique_id;
FT_Int lenIV;
FT_Byte num_blue_values;
FT_Byte num_other_blues;
FT_Byte num_family_blues;
FT_Byte num_family_other_blues;
FT_Short blue_values[14];
FT_Short other_blues[10];
FT_Short family_blues[14];
FT_Short family_other_blues[10];
FT_Fixed blue_scale;
FT_Int blue_shift;
FT_Int blue_fuzz;
FT_UShort standard_width[1];
FT_UShort standard_height[1];
FT_Byte num_snap_widths;
FT_Byte num_snap_heights;
FT_Bool force_bold;
FT_Bool round_stem_up;
FT_Short snap_widths[13];
FT_Short snap_heights[13];
FT_Fixed expansion_factor;
FT_Long language_group;
FT_Long password;
FT_Short min_feature[2];
}
-
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 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 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.static final int
The struct member offsets.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
ConstructorsConstructorDescriptionPS_Private
(ByteBuffer container) Creates aPS_Private
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
short
blue_values
(int index) static PS_Private
create
(long address) Returns a newPS_Private
instance for the specified memory address.static PS_Private.Buffer
create
(long address, int capacity) Create aPS_Private.Buffer
instance at the specified memory.static @Nullable PS_Private
createSafe
(long address) static @Nullable PS_Private.Buffer
createSafe
(long address, int capacity) long
short
family_blues
(int index) short
family_other_blues
(int index) boolean
long
int
lenIV()
short
min_feature
(int index) static int
nblue_fuzz
(long struct) Unsafe version ofblue_fuzz()
.static long
nblue_scale
(long struct) Unsafe version ofblue_scale()
.static int
nblue_shift
(long struct) Unsafe version ofblue_shift()
.static ShortBuffer
nblue_values
(long struct) Unsafe version ofblue_values()
.static short
nblue_values
(long struct, int index) Unsafe version ofblue_values
.static long
nexpansion_factor
(long struct) Unsafe version ofexpansion_factor()
.static ShortBuffer
nfamily_blues
(long struct) Unsafe version offamily_blues()
.static short
nfamily_blues
(long struct, int index) Unsafe version offamily_blues
.static ShortBuffer
nfamily_other_blues
(long struct) Unsafe version offamily_other_blues()
.static short
nfamily_other_blues
(long struct, int index) Unsafe version offamily_other_blues
.static boolean
nforce_bold
(long struct) Unsafe version offorce_bold()
.static long
nlanguage_group
(long struct) Unsafe version oflanguage_group()
.static int
nlenIV
(long struct) Unsafe version oflenIV()
.static ShortBuffer
nmin_feature
(long struct) Unsafe version ofmin_feature()
.static short
nmin_feature
(long struct, int index) Unsafe version ofmin_feature
.static byte
nnum_blue_values
(long struct) Unsafe version ofnum_blue_values()
.static byte
nnum_family_blues
(long struct) Unsafe version ofnum_family_blues()
.static byte
nnum_family_other_blues
(long struct) Unsafe version ofnum_family_other_blues()
.static byte
nnum_other_blues
(long struct) Unsafe version ofnum_other_blues()
.static byte
nnum_snap_heights
(long struct) Unsafe version ofnum_snap_heights()
.static byte
nnum_snap_widths
(long struct) Unsafe version ofnum_snap_widths()
.static ShortBuffer
nother_blues
(long struct) Unsafe version ofother_blues()
.static short
nother_blues
(long struct, int index) Unsafe version ofother_blues
.static long
npassword
(long struct) Unsafe version ofpassword()
.static boolean
nround_stem_up
(long struct) Unsafe version ofround_stem_up()
.static ShortBuffer
nsnap_heights
(long struct) Unsafe version ofsnap_heights()
.static short
nsnap_heights
(long struct, int index) Unsafe version ofsnap_heights
.static ShortBuffer
nsnap_widths
(long struct) Unsafe version ofsnap_widths()
.static short
nsnap_widths
(long struct, int index) Unsafe version ofsnap_widths
.static ShortBuffer
nstandard_height
(long struct) Unsafe version ofstandard_height()
.static short
nstandard_height
(long struct, int index) Unsafe version ofstandard_height
.static ShortBuffer
nstandard_width
(long struct) Unsafe version ofstandard_width()
.static short
nstandard_width
(long struct, int index) Unsafe version ofstandard_width
.byte
byte
byte
byte
byte
byte
static int
nunique_id
(long struct) Unsafe version ofunique_id()
.short
other_blues
(int index) long
password()
boolean
int
sizeof()
Returnssizeof(struct)
.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.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. -
UNIQUE_ID
public static final int UNIQUE_IDThe struct member offsets. -
LENIV
public static final int LENIVThe struct member offsets. -
NUM_BLUE_VALUES
public static final int NUM_BLUE_VALUESThe struct member offsets. -
NUM_OTHER_BLUES
public static final int NUM_OTHER_BLUESThe struct member offsets. -
NUM_FAMILY_BLUES
public static final int NUM_FAMILY_BLUESThe struct member offsets. -
NUM_FAMILY_OTHER_BLUES
public static final int NUM_FAMILY_OTHER_BLUESThe struct member offsets. -
BLUE_VALUES
public static final int BLUE_VALUESThe struct member offsets. -
OTHER_BLUES
public static final int OTHER_BLUESThe struct member offsets. -
FAMILY_BLUES
public static final int FAMILY_BLUESThe struct member offsets. -
FAMILY_OTHER_BLUES
public static final int FAMILY_OTHER_BLUESThe struct member offsets. -
BLUE_SCALE
public static final int BLUE_SCALEThe struct member offsets. -
BLUE_SHIFT
public static final int BLUE_SHIFTThe struct member offsets. -
BLUE_FUZZ
public static final int BLUE_FUZZThe struct member offsets. -
STANDARD_WIDTH
public static final int STANDARD_WIDTHThe struct member offsets. -
STANDARD_HEIGHT
public static final int STANDARD_HEIGHTThe struct member offsets. -
NUM_SNAP_WIDTHS
public static final int NUM_SNAP_WIDTHSThe struct member offsets. -
NUM_SNAP_HEIGHTS
public static final int NUM_SNAP_HEIGHTSThe struct member offsets. -
FORCE_BOLD
public static final int FORCE_BOLDThe struct member offsets. -
ROUND_STEM_UP
public static final int ROUND_STEM_UPThe struct member offsets. -
SNAP_WIDTHS
public static final int SNAP_WIDTHSThe struct member offsets. -
SNAP_HEIGHTS
public static final int SNAP_HEIGHTSThe struct member offsets. -
EXPANSION_FACTOR
public static final int EXPANSION_FACTORThe struct member offsets. -
LANGUAGE_GROUP
public static final int LANGUAGE_GROUPThe struct member offsets. -
PASSWORD
public static final int PASSWORDThe struct member offsets. -
MIN_FEATURE
public static final int MIN_FEATUREThe struct member offsets.
-
-
Constructor Details
-
PS_Private
Creates aPS_Private
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<PS_Private>
-
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.
-
create
Returns a newPS_Private
instance for the specified memory address. -
createSafe
-
create
Create aPS_Private.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nunique_id
public static int nunique_id(long struct) Unsafe version ofunique_id()
. -
nlenIV
public static int nlenIV(long struct) Unsafe version oflenIV()
. -
nnum_blue_values
public static byte nnum_blue_values(long struct) Unsafe version ofnum_blue_values()
. -
nnum_other_blues
public static byte nnum_other_blues(long struct) Unsafe version ofnum_other_blues()
. -
nnum_family_blues
public static byte nnum_family_blues(long struct) Unsafe version ofnum_family_blues()
. -
nnum_family_other_blues
public static byte nnum_family_other_blues(long struct) Unsafe version ofnum_family_other_blues()
. -
nblue_values
Unsafe version ofblue_values()
. -
nblue_values
public static short nblue_values(long struct, int index) Unsafe version ofblue_values
. -
nother_blues
Unsafe version ofother_blues()
. -
nother_blues
public static short nother_blues(long struct, int index) Unsafe version ofother_blues
. -
nfamily_blues
Unsafe version offamily_blues()
. -
nfamily_blues
public static short nfamily_blues(long struct, int index) Unsafe version offamily_blues
. -
nfamily_other_blues
Unsafe version offamily_other_blues()
. -
nfamily_other_blues
public static short nfamily_other_blues(long struct, int index) Unsafe version offamily_other_blues
. -
nblue_scale
public static long nblue_scale(long struct) Unsafe version ofblue_scale()
. -
nblue_shift
public static int nblue_shift(long struct) Unsafe version ofblue_shift()
. -
nblue_fuzz
public static int nblue_fuzz(long struct) Unsafe version ofblue_fuzz()
. -
nstandard_width
Unsafe version ofstandard_width()
. -
nstandard_width
public static short nstandard_width(long struct, int index) Unsafe version ofstandard_width
. -
nstandard_height
Unsafe version ofstandard_height()
. -
nstandard_height
public static short nstandard_height(long struct, int index) Unsafe version ofstandard_height
. -
nnum_snap_widths
public static byte nnum_snap_widths(long struct) Unsafe version ofnum_snap_widths()
. -
nnum_snap_heights
public static byte nnum_snap_heights(long struct) Unsafe version ofnum_snap_heights()
. -
nforce_bold
public static boolean nforce_bold(long struct) Unsafe version offorce_bold()
. -
nround_stem_up
public static boolean nround_stem_up(long struct) Unsafe version ofround_stem_up()
. -
nsnap_widths
Unsafe version ofsnap_widths()
. -
nsnap_widths
public static short nsnap_widths(long struct, int index) Unsafe version ofsnap_widths
. -
nsnap_heights
Unsafe version ofsnap_heights()
. -
nsnap_heights
public static short nsnap_heights(long struct, int index) Unsafe version ofsnap_heights
. -
nexpansion_factor
public static long nexpansion_factor(long struct) Unsafe version ofexpansion_factor()
. -
nlanguage_group
public static long nlanguage_group(long struct) Unsafe version oflanguage_group()
. -
npassword
public static long npassword(long struct) Unsafe version ofpassword()
. -
nmin_feature
Unsafe version ofmin_feature()
. -
nmin_feature
public static short nmin_feature(long struct, int index) Unsafe version ofmin_feature
.
-