Package org.lwjgl.util.freetype
Class CID_FaceInfo
- All Implemented Interfaces:
Pointer
struct CID_FaceInfoRec {
FT_String * cid_font_name;
FT_Fixed cid_version;
FT_Int cid_font_type;
FT_String * registry;
FT_String * ordering;
FT_Int supplement;
{@link PS_FontInfo PS_FontInfoRec} font_info;
{@link FT_BBox FT_BBox} font_bbox;
FT_ULong uid_base;
FT_Int num_xuid;
FT_ULong xuid[16];
FT_ULong cidmap_offset;
FT_UInt fd_bytes;
FT_UInt gd_bytes;
FT_ULong cid_count;
FT_UInt num_dicts;
{@link CID_FaceDict CID_FaceDict} font_dicts;
FT_ULong data_offset;
}
-
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 size in bytes.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
ConstructorsConstructorDescriptionCID_FaceInfo
(ByteBuffer container) Creates aCID_FaceInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionlong
int
long
long
static CID_FaceInfo
create
(long address) Returns a newCID_FaceInfo
instance for the specified memory address.static CID_FaceInfo.Buffer
create
(long address, int capacity) Create aCID_FaceInfo.Buffer
instance at the specified memory.static @Nullable CID_FaceInfo
createSafe
(long address) static @Nullable CID_FaceInfo.Buffer
createSafe
(long address, int capacity) long
int
fd_bytes()
int
gd_bytes()
static long
ncid_count
(long struct) Unsafe version ofcid_count()
.static ByteBuffer
ncid_font_name
(long struct) Unsafe version ofcid_font_name()
.static String
ncid_font_nameString
(long struct) Unsafe version ofcid_font_nameString()
.static int
ncid_font_type
(long struct) Unsafe version ofcid_font_type()
.static long
ncid_version
(long struct) Unsafe version ofcid_version()
.static long
ncidmap_offset
(long struct) Unsafe version ofcidmap_offset()
.static long
ndata_offset
(long struct) Unsafe version ofdata_offset()
.static int
nfd_bytes
(long struct) Unsafe version offd_bytes()
.static FT_BBox
nfont_bbox
(long struct) Unsafe version offont_bbox()
.static CID_FaceDict
nfont_dicts
(long struct) Unsafe version offont_dicts()
.static PS_FontInfo
nfont_info
(long struct) Unsafe version offont_info()
.static int
ngd_bytes
(long struct) Unsafe version ofgd_bytes()
.static int
nnum_dicts
(long struct) Unsafe version ofnum_dicts()
.static int
nnum_xuid
(long struct) Unsafe version ofnum_xuid()
.static ByteBuffer
nordering
(long struct) Unsafe version ofordering()
.static String
norderingString
(long struct) Unsafe version oforderingString()
.static ByteBuffer
nregistry
(long struct) Unsafe version ofregistry()
.static String
nregistryString
(long struct) Unsafe version ofregistryString()
.static int
nsupplement
(long struct) Unsafe version ofsupplement()
.static long
nuid_base
(long struct) Unsafe version ofuid_base()
.int
int
num_xuid()
static CLongBuffer
nxuid
(long struct) Unsafe version ofxuid()
.static long
nxuid
(long struct, int index) Unsafe version ofxuid
.ordering()
registry()
int
sizeof()
Returnssizeof(struct)
.int
long
uid_base()
xuid()
long
xuid
(int index) 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. -
CID_FONT_NAME
public static final int CID_FONT_NAMEThe struct member offsets. -
CID_VERSION
public static final int CID_VERSIONThe struct member offsets. -
CID_FONT_TYPE
public static final int CID_FONT_TYPEThe struct member offsets. -
REGISTRY
public static final int REGISTRYThe struct member offsets. -
ORDERING
public static final int ORDERINGThe struct member offsets. -
SUPPLEMENT
public static final int SUPPLEMENTThe struct member offsets. -
FONT_INFO
public static final int FONT_INFOThe struct member offsets. -
FONT_BBOX
public static final int FONT_BBOXThe struct member offsets. -
UID_BASE
public static final int UID_BASEThe struct member offsets. -
NUM_XUID
public static final int NUM_XUIDThe struct member offsets. -
XUID
public static final int XUIDThe struct member offsets. -
CIDMAP_OFFSET
public static final int CIDMAP_OFFSETThe struct member offsets. -
FD_BYTES
public static final int FD_BYTESThe struct member offsets. -
GD_BYTES
public static final int GD_BYTESThe struct member offsets. -
CID_COUNT
public static final int CID_COUNTThe struct member offsets. -
NUM_DICTS
public static final int NUM_DICTSThe struct member offsets. -
FONT_DICTS
public static final int FONT_DICTSThe struct member offsets. -
DATA_OFFSET
public static final int DATA_OFFSETThe struct member offsets.
-
-
Constructor Details
-
CID_FaceInfo
Creates aCID_FaceInfo
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_FaceInfo>
-
cid_font_name
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thecid_font_name
field.
-
cid_font_nameString
- Returns:
- the null-terminated string pointed to by the
cid_font_name
field.
-
cid_version
public long cid_version()- Returns:
- the value of the
cid_version
field.
-
cid_font_type
public int cid_font_type()- Returns:
- the value of the
cid_font_type
field.
-
registry
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by theregistry
field.
-
registryString
- Returns:
- the null-terminated string pointed to by the
registry
field.
-
ordering
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by theordering
field.
-
orderingString
- Returns:
- the null-terminated string pointed to by the
ordering
field.
-
supplement
public int supplement()- Returns:
- the value of the
supplement
field.
-
font_info
- Returns:
- a
PS_FontInfo
view of thefont_info
field.
-
font_bbox
- Returns:
- a
FT_BBox
view of thefont_bbox
field.
-
uid_base
public long uid_base()- Returns:
- the value of the
uid_base
field.
-
num_xuid
public int num_xuid()- Returns:
- the value of the
num_xuid
field.
-
xuid
- Returns:
- a
CLongBuffer
view of thexuid
field.
-
xuid
public long xuid(int index) - Returns:
- the value at the specified index of the
xuid
field.
-
cidmap_offset
public long cidmap_offset()- Returns:
- the value of the
cidmap_offset
field.
-
fd_bytes
public int fd_bytes()- Returns:
- the value of the
fd_bytes
field.
-
gd_bytes
public int gd_bytes()- Returns:
- the value of the
gd_bytes
field.
-
cid_count
public long cid_count()- Returns:
- the value of the
cid_count
field.
-
num_dicts
public int num_dicts()- Returns:
- the value of the
num_dicts
field.
-
font_dicts
- Returns:
- a
CID_FaceDict
view of the struct pointed to by thefont_dicts
field.
-
data_offset
public long data_offset()- Returns:
- the value of the
data_offset
field.
-
create
Returns a newCID_FaceInfo
instance for the specified memory address. -
createSafe
-
create
Create aCID_FaceInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
ncid_font_name
Unsafe version ofcid_font_name()
. -
ncid_font_nameString
Unsafe version ofcid_font_nameString()
. -
ncid_version
public static long ncid_version(long struct) Unsafe version ofcid_version()
. -
ncid_font_type
public static int ncid_font_type(long struct) Unsafe version ofcid_font_type()
. -
nregistry
Unsafe version ofregistry()
. -
nregistryString
Unsafe version ofregistryString()
. -
nordering
Unsafe version ofordering()
. -
norderingString
Unsafe version oforderingString()
. -
nsupplement
public static int nsupplement(long struct) Unsafe version ofsupplement()
. -
nfont_info
Unsafe version offont_info()
. -
nfont_bbox
Unsafe version offont_bbox()
. -
nuid_base
public static long nuid_base(long struct) Unsafe version ofuid_base()
. -
nnum_xuid
public static int nnum_xuid(long struct) Unsafe version ofnum_xuid()
. -
nxuid
Unsafe version ofxuid()
. -
nxuid
public static long nxuid(long struct, int index) Unsafe version ofxuid
. -
ncidmap_offset
public static long ncidmap_offset(long struct) Unsafe version ofcidmap_offset()
. -
nfd_bytes
public static int nfd_bytes(long struct) Unsafe version offd_bytes()
. -
ngd_bytes
public static int ngd_bytes(long struct) Unsafe version ofgd_bytes()
. -
ncid_count
public static long ncid_count(long struct) Unsafe version ofcid_count()
. -
nnum_dicts
public static int nnum_dicts(long struct) Unsafe version ofnum_dicts()
. -
nfont_dicts
Unsafe version offont_dicts()
. -
ndata_offset
public static long ndata_offset(long struct) Unsafe version ofdata_offset()
.
-