Package org.lwjgl.util.freetype
Class CID_FaceInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<CID_FaceInfo.Buffer>
org.lwjgl.system.StructBuffer<CID_FaceInfo,CID_FaceInfo.Buffer>
org.lwjgl.util.freetype.CID_FaceInfo.Buffer
- All Implemented Interfaces:
Iterable<CID_FaceInfo>,Pointer
- Enclosing class:
CID_FaceInfo
An array of
CID_FaceInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newCID_FaceInfo.Bufferinstance backed by the specified container. -
Method Summary
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newCID_FaceInfo.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
CID_FaceInfo.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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.
-