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.Buffer
instance 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, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newCID_FaceInfo.Buffer
instance 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
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.
-