Package org.lwjgl.util.freetype
Class CID_FaceDict
- All Implemented Interfaces:
Pointer
struct CID_FaceDictRec {
{@link PS_Private PS_PrivateRec} private_dict;
FT_UInt len_buildchar;
FT_Fixed forcebold_threshold;
FT_Pos stroke_width;
FT_Fixed expansion_factor;
FT_Byte paint_type;
FT_Byte font_type;
{@link FT_Matrix FT_Matrix} font_matrix;
{@link FT_Vector FT_Vector} font_offset;
FT_UInt num_subrs;
FT_ULong subrmap_offset;
FT_UInt sd_bytes;
}
-
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 size in bytes.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
ConstructorsConstructorDescriptionCID_FaceDict
(ByteBuffer container) Creates aCID_FaceDict
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic CID_FaceDict
create
(long address) Returns a newCID_FaceDict
instance for the specified memory address.static CID_FaceDict.Buffer
create
(long address, int capacity) Create aCID_FaceDict.Buffer
instance at the specified memory.static @Nullable CID_FaceDict
createSafe
(long address) static @Nullable CID_FaceDict.Buffer
createSafe
(long address, int capacity) long
byte
long
int
static long
nexpansion_factor
(long struct) Unsafe version ofexpansion_factor()
.static FT_Matrix
nfont_matrix
(long struct) Unsafe version offont_matrix()
.static FT_Vector
nfont_offset
(long struct) Unsafe version offont_offset()
.static byte
nfont_type
(long struct) Unsafe version offont_type()
.static long
nforcebold_threshold
(long struct) Unsafe version offorcebold_threshold()
.static int
nlen_buildchar
(long struct) Unsafe version oflen_buildchar()
.static int
nnum_subrs
(long struct) Unsafe version ofnum_subrs()
.static byte
npaint_type
(long struct) Unsafe version ofpaint_type()
.static PS_Private
nprivate_dict
(long struct) Unsafe version ofprivate_dict()
.static int
nsd_bytes
(long struct) Unsafe version ofsd_bytes()
.static long
nstroke_width
(long struct) Unsafe version ofstroke_width()
.static long
nsubrmap_offset
(long struct) Unsafe version ofsubrmap_offset()
.int
byte
int
sd_bytes()
int
sizeof()
Returnssizeof(struct)
.long
long
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. -
PRIVATE_DICT
public static final int PRIVATE_DICTThe struct member offsets. -
LEN_BUILDCHAR
public static final int LEN_BUILDCHARThe struct member offsets. -
FORCEBOLD_THRESHOLD
public static final int FORCEBOLD_THRESHOLDThe struct member offsets. -
STROKE_WIDTH
public static final int STROKE_WIDTHThe struct member offsets. -
EXPANSION_FACTOR
public static final int EXPANSION_FACTORThe struct member offsets. -
PAINT_TYPE
public static final int PAINT_TYPEThe struct member offsets. -
FONT_TYPE
public static final int FONT_TYPEThe struct member offsets. -
FONT_MATRIX
public static final int FONT_MATRIXThe struct member offsets. -
FONT_OFFSET
public static final int FONT_OFFSETThe struct member offsets. -
NUM_SUBRS
public static final int NUM_SUBRSThe struct member offsets. -
SUBRMAP_OFFSET
public static final int SUBRMAP_OFFSETThe struct member offsets. -
SD_BYTES
public static final int SD_BYTESThe struct member offsets.
-
-
Constructor Details
-
CID_FaceDict
Creates aCID_FaceDict
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<CID_FaceDict>
-
private_dict
- Returns:
- a
PS_Private
view of theprivate_dict
field.
-
len_buildchar
public int len_buildchar()- Returns:
- the value of the
len_buildchar
field.
-
forcebold_threshold
public long forcebold_threshold()- Returns:
- the value of the
forcebold_threshold
field.
-
stroke_width
public long stroke_width()- Returns:
- the value of the
stroke_width
field.
-
expansion_factor
public long expansion_factor()- Returns:
- the value of the
expansion_factor
field.
-
paint_type
public byte paint_type()- Returns:
- the value of the
paint_type
field.
-
font_type
public byte font_type()- Returns:
- the value of the
font_type
field.
-
font_matrix
- Returns:
- a
FT_Matrix
view of thefont_matrix
field.
-
font_offset
- Returns:
- a
FT_Vector
view of thefont_offset
field.
-
num_subrs
public int num_subrs()- Returns:
- the value of the
num_subrs
field.
-
subrmap_offset
public long subrmap_offset()- Returns:
- the value of the
subrmap_offset
field.
-
sd_bytes
public int sd_bytes()- Returns:
- the value of the
sd_bytes
field.
-
create
Returns a newCID_FaceDict
instance for the specified memory address. -
createSafe
-
create
Create aCID_FaceDict.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nprivate_dict
Unsafe version ofprivate_dict()
. -
nlen_buildchar
public static int nlen_buildchar(long struct) Unsafe version oflen_buildchar()
. -
nforcebold_threshold
public static long nforcebold_threshold(long struct) Unsafe version offorcebold_threshold()
. -
nstroke_width
public static long nstroke_width(long struct) Unsafe version ofstroke_width()
. -
nexpansion_factor
public static long nexpansion_factor(long struct) Unsafe version ofexpansion_factor()
. -
npaint_type
public static byte npaint_type(long struct) Unsafe version ofpaint_type()
. -
nfont_type
public static byte nfont_type(long struct) Unsafe version offont_type()
. -
nfont_matrix
Unsafe version offont_matrix()
. -
nfont_offset
Unsafe version offont_offset()
. -
nnum_subrs
public static int nnum_subrs(long struct) Unsafe version ofnum_subrs()
. -
nsubrmap_offset
public static long nsubrmap_offset(long struct) Unsafe version ofsubrmap_offset()
. -
nsd_bytes
public static int nsd_bytes(long struct) Unsafe version ofsd_bytes()
.
-