Top Description Inners Fields Constructors Methods
org.lwjgl.util.freetype

public Class PS_Private

extends Struct<PS_Private>
Class Inheritance
Annotations
@NativeType:struct PS_PrivateRec
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

A structure used to model a Type~1 or Type~2 private dictionary. Note that for Multiple Master fonts, each instance has its own Private dictionary.

Layout


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 and Inner Type Summary

Modifier and TypeClass and Description
public static class
PS_Private.Buffer

An array of PS_Private structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BLUE_FUZZ

The struct member offsets.

public static final int
BLUE_SCALE

The struct member offsets.

public static final int
BLUE_SHIFT

The struct member offsets.

public static final int
BLUE_VALUES

The struct member offsets.

public static final int
EXPANSION_FACTOR

The struct member offsets.

public static final int
FAMILY_BLUES

The struct member offsets.

public static final int
FAMILY_OTHER_BLUES

The struct member offsets.

public static final int
FORCE_BOLD

The struct member offsets.

public static final int
LANGUAGE_GROUP

The struct member offsets.

public static final int
LENIV

The struct member offsets.

public static final int
MIN_FEATURE

The struct member offsets.

public static final int
NUM_BLUE_VALUES

The struct member offsets.

public static final int
NUM_FAMILY_BLUES

The struct member offsets.

public static final int
NUM_FAMILY_OTHER_BLUES

The struct member offsets.

public static final int
NUM_OTHER_BLUES

The struct member offsets.

public static final int
NUM_SNAP_HEIGHTS

The struct member offsets.

public static final int
NUM_SNAP_WIDTHS

The struct member offsets.

public static final int
OTHER_BLUES

The struct member offsets.

public static final int
PASSWORD

The struct member offsets.

public static final int
ROUND_STEM_UP

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SNAP_HEIGHTS

The struct member offsets.

public static final int
SNAP_WIDTHS

The struct member offsets.

public static final int
STANDARD_HEIGHT

The struct member offsets.

public static final int
STANDARD_WIDTH

The struct member offsets.

public static final int
UNIQUE_ID

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
PS_Private(long address, ByteBuffer container)

public
PS_Private(ByteBuffer container)

Creates a PS_Private instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the blue_fuzz field.
blue_fuzz
()

public long

Returns:

the value of the blue_scale field.
blue_scale
()

public int

Returns:

the value of the blue_shift field.
blue_shift
()

public ShortBuffer

Returns:

a ShortBuffer view of the blue_values field.
blue_values
()

public short

Returns:

the value at the specified index of the blue_values field.
blue_values
(int index)

protected PS_Private
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static PS_Private
create(long address)

Returns a new PS_Private instance for the specified memory address.

public static PS_Private.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a PS_Private.Buffer instance at the specified memory.

public static PS_Private
createSafe(long address)

Like create, but returns null if address is NULL.

public static PS_Private.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the expansion_factor field.
expansion_factor
()

public ShortBuffer

Returns:

a ShortBuffer view of the family_blues field.
family_blues
()

public short

Returns:

the value at the specified index of the family_blues field.
family_blues
(int index)

public ShortBuffer

Returns:

a ShortBuffer view of the family_other_blues field.
family_other_blues
()

public short

Returns:

the value at the specified index of the family_other_blues field.
family_other_blues
(int index)

public boolean

Returns:

the value of the force_bold field.
force_bold
()

public long

Returns:

the value of the language_group field.
language_group
()

public int

Returns:

the value of the lenIV field.
lenIV
()

public ShortBuffer

Returns:

a ShortBuffer view of the min_feature field.
min_feature
()

public short

Returns:

the value at the specified index of the min_feature field.
min_feature
(int index)

public static int
nblue_fuzz(long struct)

Unsafe version of blue_fuzz.

public static long
nblue_scale(long struct)

Unsafe version of blue_scale.

public static int
nblue_shift(long struct)

Unsafe version of blue_shift.

public static ShortBuffer
nblue_values(long struct)

Unsafe version of blue_values.

public static short
nblue_values(long struct, int index)

Unsafe version of blue_values.

public static long
nexpansion_factor(long struct)

Unsafe version of expansion_factor.

public static ShortBuffer
nfamily_blues(long struct)

Unsafe version of family_blues.

public static short
nfamily_blues(long struct, int index)

Unsafe version of family_blues.

public static ShortBuffer
nfamily_other_blues(long struct)

Unsafe version of family_other_blues.

public static short
nfamily_other_blues(long struct, int index)

Unsafe version of family_other_blues.

public static boolean
nforce_bold(long struct)

Unsafe version of force_bold.

public static long
nlanguage_group(long struct)

Unsafe version of language_group.

public static int
nlenIV(long struct)

Unsafe version of lenIV.

public static ShortBuffer
nmin_feature(long struct)

Unsafe version of min_feature.

public static short
nmin_feature(long struct, int index)

Unsafe version of min_feature.

public static byte
nnum_blue_values(long struct)

Unsafe version of num_blue_values.

public static byte
nnum_family_blues(long struct)

Unsafe version of num_family_blues.

public static byte
nnum_family_other_blues(long struct)

Unsafe version of num_family_other_blues.

public static byte
nnum_other_blues(long struct)

Unsafe version of num_other_blues.

public static byte
nnum_snap_heights(long struct)

Unsafe version of num_snap_heights.

public static byte
nnum_snap_widths(long struct)

Unsafe version of num_snap_widths.

public static ShortBuffer
nother_blues(long struct)

Unsafe version of other_blues.

public static short
nother_blues(long struct, int index)

Unsafe version of other_blues.

public static long
npassword(long struct)

Unsafe version of password.

public static boolean
nround_stem_up(long struct)

Unsafe version of round_stem_up.

public static ShortBuffer
nsnap_heights(long struct)

Unsafe version of snap_heights.

public static short
nsnap_heights(long struct, int index)

Unsafe version of snap_heights.

public static ShortBuffer
nsnap_widths(long struct)

Unsafe version of snap_widths.

public static short
nsnap_widths(long struct, int index)

Unsafe version of snap_widths.

public static ShortBuffer
nstandard_height(long struct)

Unsafe version of standard_height.

public static short
nstandard_height(long struct, int index)

Unsafe version of standard_height.

public static ShortBuffer
nstandard_width(long struct)

Unsafe version of standard_width.

public static short
nstandard_width(long struct, int index)

Unsafe version of standard_width.

public byte

Returns:

the value of the num_blue_values field.
num_blue_values
()

public byte

Returns:

the value of the num_family_blues field.
num_family_blues
()

public byte

Returns:

the value of the num_family_other_blues field.
num_family_other_blues
()

public byte

Returns:

the value of the num_other_blues field.
num_other_blues
()

public byte

Returns:

the value of the num_snap_heights field.
num_snap_heights
()

public byte

Returns:

the value of the num_snap_widths field.
num_snap_widths
()

public static int
nunique_id(long struct)

Unsafe version of unique_id.

public ShortBuffer

Returns:

a ShortBuffer view of the other_blues field.
other_blues
()

public short

Returns:

the value at the specified index of the other_blues field.
other_blues
(int index)

public long

Returns:

the value of the password field.
password
()

public boolean

Returns:

the value of the round_stem_up field.
round_stem_up
()

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public ShortBuffer
snap_heights()

including std height

public short
snap_heights(int index)

including std height

public ShortBuffer
snap_widths()

including std width

public short
snap_widths(int index)

including std width

public ShortBuffer

Returns:

a ShortBuffer view of the standard_height field.
standard_height
()

public short

Returns:

the value at the specified index of the standard_height field.
standard_height
(int index)

public ShortBuffer

Returns:

a ShortBuffer view of the standard_width field.
standard_width
()

public short

Returns:

the value at the specified index of the standard_width field.
standard_width
(int index)

public int

Returns:

the value of the unique_id field.
unique_id
()

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate