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.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 size in bytes.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
ConstructorsConstructorDescriptionCID_FaceDict(ByteBuffer container) Creates aCID_FaceDictinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CID_FaceDictcreate(long address) Returns a newCID_FaceDictinstance for the specified memory address.static CID_FaceDict.Buffercreate(long address, int capacity) Create aCID_FaceDict.Bufferinstance at the specified memory.static @Nullable CID_FaceDictcreateSafe(long address) static @Nullable CID_FaceDict.BuffercreateSafe(long address, int capacity) longbytelongintstatic longnexpansion_factor(long struct) Unsafe version ofexpansion_factor().static FT_Matrixnfont_matrix(long struct) Unsafe version offont_matrix().static FT_Vectornfont_offset(long struct) Unsafe version offont_offset().static bytenfont_type(long struct) Unsafe version offont_type().static longnforcebold_threshold(long struct) Unsafe version offorcebold_threshold().static intnlen_buildchar(long struct) Unsafe version oflen_buildchar().static intnnum_subrs(long struct) Unsafe version ofnum_subrs().static bytenpaint_type(long struct) Unsafe version ofpaint_type().static PS_Privatenprivate_dict(long struct) Unsafe version ofprivate_dict().static intnsd_bytes(long struct) Unsafe version ofsd_bytes().static longnstroke_width(long struct) Unsafe version ofstroke_width().static longnsubrmap_offset(long struct) Unsafe version ofsubrmap_offset().intbyteintsd_bytes()intsizeof()Returnssizeof(struct).longlongMethods 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_FaceDictinstance 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<CID_FaceDict>
-
private_dict
- Returns:
- a
PS_Privateview of theprivate_dictfield.
-
len_buildchar
public int len_buildchar()- Returns:
- the value of the
len_buildcharfield.
-
forcebold_threshold
public long forcebold_threshold()- Returns:
- the value of the
forcebold_thresholdfield.
-
stroke_width
public long stroke_width()- Returns:
- the value of the
stroke_widthfield.
-
expansion_factor
public long expansion_factor()- Returns:
- the value of the
expansion_factorfield.
-
paint_type
public byte paint_type()- Returns:
- the value of the
paint_typefield.
-
font_type
public byte font_type()- Returns:
- the value of the
font_typefield.
-
font_matrix
- Returns:
- a
FT_Matrixview of thefont_matrixfield.
-
font_offset
- Returns:
- a
FT_Vectorview of thefont_offsetfield.
-
num_subrs
public int num_subrs()- Returns:
- the value of the
num_subrsfield.
-
subrmap_offset
public long subrmap_offset()- Returns:
- the value of the
subrmap_offsetfield.
-
sd_bytes
public int sd_bytes()- Returns:
- the value of the
sd_bytesfield.
-
create
Returns a newCID_FaceDictinstance for the specified memory address. -
createSafe
-
create
Create aCID_FaceDict.Bufferinstance 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().
-