Class FT_Face.Buffer
- Enclosing class:
FT_Face
An array of
FT_Face structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newFT_Face.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionshortascender()@Nullable FT_Bitmap_Size.Bufferbbox()@Nullable FT_CharMapcharmap()charmaps()shortlonglonggeneric()@Nullable FT_GlyphSlotglyph()shortheight()shortshortintlongintlong@Nullable FT_Sizesize()longshortshortshortMethods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newFT_Face.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
FT_Face.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
-
num_faces
- Returns:
- the value of the
num_facesfield.
-
face_index
- Returns:
- the value of the
face_indexfield.
-
face_flags
- Returns:
- the value of the
face_flagsfield.
-
style_flags
- Returns:
- the value of the
style_flagsfield.
-
num_glyphs
- Returns:
- the value of the
num_glyphsfield.
-
family_name
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thefamily_namefield.
-
family_nameString
- Returns:
- the null-terminated string pointed to by the
family_namefield.
-
style_name
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thestyle_namefield.
-
style_nameString
- Returns:
- the null-terminated string pointed to by the
style_namefield.
-
num_fixed_sizes
- Returns:
- the value of the
num_fixed_sizesfield.
-
available_sizes
- Returns:
- a
FT_Bitmap_Size.Bufferview of the struct array pointed to by theavailable_sizesfield.
-
num_charmaps
- Returns:
- the value of the
num_charmapsfield.
-
charmaps
- Returns:
- a
PointerBufferview of the data pointed to by thecharmapsfield.
-
generic
- Returns:
- a
FT_Genericview of thegenericfield.
-
bbox
-
units_per_EM
- Returns:
- the value of the
units_per_EMfield.
-
ascender
- Returns:
- the value of the
ascenderfield.
-
descender
- Returns:
- the value of the
descenderfield.
-
height
- Returns:
- the value of the
heightfield.
-
max_advance_width
- Returns:
- the value of the
max_advance_widthfield.
-
max_advance_height
- Returns:
- the value of the
max_advance_heightfield.
-
underline_position
- Returns:
- the value of the
underline_positionfield.
-
underline_thickness
- Returns:
- the value of the
underline_thicknessfield.
-
glyph
- Returns:
- a
FT_GlyphSlotview of the struct pointed to by theglyphfield.
-
size
-
charmap
- Returns:
- a
FT_CharMapview of the struct pointed to by thecharmapfield.
-