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.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 size in bytes.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
ConstructorsConstructorDescriptionCID_FaceInfo(ByteBuffer container) Creates aCID_FaceInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongintlonglongstatic CID_FaceInfocreate(long address) Returns a newCID_FaceInfoinstance for the specified memory address.static CID_FaceInfo.Buffercreate(long address, int capacity) Create aCID_FaceInfo.Bufferinstance at the specified memory.static @Nullable CID_FaceInfocreateSafe(long address) static @Nullable CID_FaceInfo.BuffercreateSafe(long address, int capacity) longintfd_bytes()intgd_bytes()static longncid_count(long struct) Unsafe version ofcid_count().static ByteBufferncid_font_name(long struct) Unsafe version ofcid_font_name().static Stringncid_font_nameString(long struct) Unsafe version ofcid_font_nameString().static intncid_font_type(long struct) Unsafe version ofcid_font_type().static longncid_version(long struct) Unsafe version ofcid_version().static longncidmap_offset(long struct) Unsafe version ofcidmap_offset().static longndata_offset(long struct) Unsafe version ofdata_offset().static intnfd_bytes(long struct) Unsafe version offd_bytes().static FT_BBoxnfont_bbox(long struct) Unsafe version offont_bbox().static CID_FaceDictnfont_dicts(long struct) Unsafe version offont_dicts().static PS_FontInfonfont_info(long struct) Unsafe version offont_info().static intngd_bytes(long struct) Unsafe version ofgd_bytes().static intnnum_dicts(long struct) Unsafe version ofnum_dicts().static intnnum_xuid(long struct) Unsafe version ofnum_xuid().static ByteBuffernordering(long struct) Unsafe version ofordering().static StringnorderingString(long struct) Unsafe version oforderingString().static ByteBuffernregistry(long struct) Unsafe version ofregistry().static StringnregistryString(long struct) Unsafe version ofregistryString().static intnsupplement(long struct) Unsafe version ofsupplement().static longnuid_base(long struct) Unsafe version ofuid_base().intintnum_xuid()static CLongBuffernxuid(long struct) Unsafe version ofxuid().static longnxuid(long struct, int index) Unsafe version ofxuid.ordering()registry()intsizeof()Returnssizeof(struct).intlonguid_base()xuid()longxuid(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_FaceInfoinstance 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_FaceInfo>
-
cid_font_name
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thecid_font_namefield.
-
cid_font_nameString
- Returns:
- the null-terminated string pointed to by the
cid_font_namefield.
-
cid_version
public long cid_version()- Returns:
- the value of the
cid_versionfield.
-
cid_font_type
public int cid_font_type()- Returns:
- the value of the
cid_font_typefield.
-
registry
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theregistryfield.
-
registryString
- Returns:
- the null-terminated string pointed to by the
registryfield.
-
ordering
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theorderingfield.
-
orderingString
- Returns:
- the null-terminated string pointed to by the
orderingfield.
-
supplement
public int supplement()- Returns:
- the value of the
supplementfield.
-
font_info
- Returns:
- a
PS_FontInfoview of thefont_infofield.
-
font_bbox
- Returns:
- a
FT_BBoxview of thefont_bboxfield.
-
uid_base
public long uid_base()- Returns:
- the value of the
uid_basefield.
-
num_xuid
public int num_xuid()- Returns:
- the value of the
num_xuidfield.
-
xuid
- Returns:
- a
CLongBufferview of thexuidfield.
-
xuid
public long xuid(int index) - Returns:
- the value at the specified index of the
xuidfield.
-
cidmap_offset
public long cidmap_offset()- Returns:
- the value of the
cidmap_offsetfield.
-
fd_bytes
public int fd_bytes()- Returns:
- the value of the
fd_bytesfield.
-
gd_bytes
public int gd_bytes()- Returns:
- the value of the
gd_bytesfield.
-
cid_count
public long cid_count()- Returns:
- the value of the
cid_countfield.
-
num_dicts
public int num_dicts()- Returns:
- the value of the
num_dictsfield.
-
font_dicts
- Returns:
- a
CID_FaceDictview of the struct pointed to by thefont_dictsfield.
-
data_offset
public long data_offset()- Returns:
- the value of the
data_offsetfield.
-
create
Returns a newCID_FaceInfoinstance for the specified memory address. -
createSafe
-
create
Create aCID_FaceInfo.Bufferinstance 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().
-