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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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_Privateinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintlongintshortblue_values(int index) static PS_Privatecreate(long address) Returns a newPS_Privateinstance for the specified memory address.static PS_Private.Buffercreate(long address, int capacity) Create aPS_Private.Bufferinstance at the specified memory.static @Nullable PS_PrivatecreateSafe(long address) static @Nullable PS_Private.BuffercreateSafe(long address, int capacity) longshortfamily_blues(int index) shortfamily_other_blues(int index) booleanlongintlenIV()shortmin_feature(int index) static intnblue_fuzz(long struct) Unsafe version ofblue_fuzz().static longnblue_scale(long struct) Unsafe version ofblue_scale().static intnblue_shift(long struct) Unsafe version ofblue_shift().static ShortBuffernblue_values(long struct) Unsafe version ofblue_values().static shortnblue_values(long struct, int index) Unsafe version ofblue_values.static longnexpansion_factor(long struct) Unsafe version ofexpansion_factor().static ShortBuffernfamily_blues(long struct) Unsafe version offamily_blues().static shortnfamily_blues(long struct, int index) Unsafe version offamily_blues.static ShortBuffernfamily_other_blues(long struct) Unsafe version offamily_other_blues().static shortnfamily_other_blues(long struct, int index) Unsafe version offamily_other_blues.static booleannforce_bold(long struct) Unsafe version offorce_bold().static longnlanguage_group(long struct) Unsafe version oflanguage_group().static intnlenIV(long struct) Unsafe version oflenIV().static ShortBuffernmin_feature(long struct) Unsafe version ofmin_feature().static shortnmin_feature(long struct, int index) Unsafe version ofmin_feature.static bytennum_blue_values(long struct) Unsafe version ofnum_blue_values().static bytennum_family_blues(long struct) Unsafe version ofnum_family_blues().static bytennum_family_other_blues(long struct) Unsafe version ofnum_family_other_blues().static bytennum_other_blues(long struct) Unsafe version ofnum_other_blues().static bytennum_snap_heights(long struct) Unsafe version ofnum_snap_heights().static bytennum_snap_widths(long struct) Unsafe version ofnum_snap_widths().static ShortBuffernother_blues(long struct) Unsafe version ofother_blues().static shortnother_blues(long struct, int index) Unsafe version ofother_blues.static longnpassword(long struct) Unsafe version ofpassword().static booleannround_stem_up(long struct) Unsafe version ofround_stem_up().static ShortBuffernsnap_heights(long struct) Unsafe version ofsnap_heights().static shortnsnap_heights(long struct, int index) Unsafe version ofsnap_heights.static ShortBuffernsnap_widths(long struct) Unsafe version ofsnap_widths().static shortnsnap_widths(long struct, int index) Unsafe version ofsnap_widths.static ShortBuffernstandard_height(long struct) Unsafe version ofstandard_height().static shortnstandard_height(long struct, int index) Unsafe version ofstandard_height.static ShortBuffernstandard_width(long struct) Unsafe version ofstandard_width().static shortnstandard_width(long struct, int index) Unsafe version ofstandard_width.bytebytebytebytebytebytestatic intnunique_id(long struct) Unsafe version ofunique_id().shortother_blues(int index) longpassword()booleanintsizeof()Returnssizeof(struct).shortsnap_heights(int index) shortsnap_widths(int index) shortstandard_height(int index) shortstandard_width(int index) intMethods 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_Privateinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<PS_Private>
-
unique_id
public int unique_id()- Returns:
- the value of the
unique_idfield.
-
lenIV
public int lenIV()- Returns:
- the value of the
lenIVfield.
-
num_blue_values
public byte num_blue_values()- Returns:
- the value of the
num_blue_valuesfield.
-
num_other_blues
public byte num_other_blues()- Returns:
- the value of the
num_other_bluesfield.
-
num_family_blues
public byte num_family_blues()- Returns:
- the value of the
num_family_bluesfield.
-
num_family_other_blues
public byte num_family_other_blues()- Returns:
- the value of the
num_family_other_bluesfield.
-
blue_values
- Returns:
- a
ShortBufferview of theblue_valuesfield.
-
blue_values
public short blue_values(int index) - Returns:
- the value at the specified index of the
blue_valuesfield.
-
other_blues
- Returns:
- a
ShortBufferview of theother_bluesfield.
-
other_blues
public short other_blues(int index) - Returns:
- the value at the specified index of the
other_bluesfield.
-
family_blues
- Returns:
- a
ShortBufferview of thefamily_bluesfield.
-
family_blues
public short family_blues(int index) - Returns:
- the value at the specified index of the
family_bluesfield.
-
family_other_blues
- Returns:
- a
ShortBufferview of thefamily_other_bluesfield.
-
family_other_blues
public short family_other_blues(int index) - Returns:
- the value at the specified index of the
family_other_bluesfield.
-
blue_scale
public long blue_scale()- Returns:
- the value of the
blue_scalefield.
-
blue_shift
public int blue_shift()- Returns:
- the value of the
blue_shiftfield.
-
blue_fuzz
public int blue_fuzz()- Returns:
- the value of the
blue_fuzzfield.
-
standard_width
- Returns:
- a
ShortBufferview of thestandard_widthfield.
-
standard_width
public short standard_width(int index) - Returns:
- the value at the specified index of the
standard_widthfield.
-
standard_height
- Returns:
- a
ShortBufferview of thestandard_heightfield.
-
standard_height
public short standard_height(int index) - Returns:
- the value at the specified index of the
standard_heightfield.
-
num_snap_widths
public byte num_snap_widths()- Returns:
- the value of the
num_snap_widthsfield.
-
num_snap_heights
public byte num_snap_heights()- Returns:
- the value of the
num_snap_heightsfield.
-
force_bold
public boolean force_bold()- Returns:
- the value of the
force_boldfield.
-
round_stem_up
public boolean round_stem_up()- Returns:
- the value of the
round_stem_upfield.
-
snap_widths
- Returns:
- a
ShortBufferview of thesnap_widthsfield.
-
snap_widths
public short snap_widths(int index) - Returns:
- the value at the specified index of the
snap_widthsfield.
-
snap_heights
- Returns:
- a
ShortBufferview of thesnap_heightsfield.
-
snap_heights
public short snap_heights(int index) - Returns:
- the value at the specified index of the
snap_heightsfield.
-
expansion_factor
public long expansion_factor()- Returns:
- the value of the
expansion_factorfield.
-
language_group
public long language_group()- Returns:
- the value of the
language_groupfield.
-
password
public long password()- Returns:
- the value of the
passwordfield.
-
min_feature
- Returns:
- a
ShortBufferview of themin_featurefield.
-
min_feature
public short min_feature(int index) - Returns:
- the value at the specified index of the
min_featurefield.
-
create
Returns a newPS_Privateinstance for the specified memory address. -
createSafe
-
create
Create aPS_Private.Bufferinstance 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.
-