Package org.lwjgl.util.harfbuzz
Class hb_color_line_t
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct hb_color_line_t {
void * data;
{@link hb_color_line_get_color_stops_func_tI hb_color_line_get_color_stops_func_t} get_color_stops;
void * get_color_stops_user_data;
{@link hb_color_line_get_extend_func_tI hb_color_line_get_extend_func_t} get_extend;
void * get_extend_user_data;
void * reserved0;
void * reserved1;
void * reserved2;
void * reserved3;
void * reserved4;
void * reserved5;
void * reserved6;
void * reserved7;
void * reserved8;
}
-
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionhb_color_line_t
(ByteBuffer container) Creates ahb_color_line_t
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic hb_color_line_t
calloc()
Returns a newhb_color_line_t
instance allocated withmemCalloc
.static hb_color_line_t.Buffer
calloc
(int capacity) Returns a newhb_color_line_t.Buffer
instance allocated withmemCalloc
.static hb_color_line_t.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newhb_color_line_t.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static hb_color_line_t
calloc
(MemoryStack stack) Returns a newhb_color_line_t
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static hb_color_line_t
create()
Returns a newhb_color_line_t
instance allocated withBufferUtils
.static hb_color_line_t.Buffer
create
(int capacity) Returns a newhb_color_line_t.Buffer
instance allocated withBufferUtils
.static hb_color_line_t
create
(long address) Returns a newhb_color_line_t
instance for the specified memory address.static hb_color_line_t.Buffer
create
(long address, int capacity) Create ahb_color_line_t.Buffer
instance at the specified memory.static @Nullable hb_color_line_t
createSafe
(long address) static @Nullable hb_color_line_t.Buffer
createSafe
(long address, int capacity) long
data()
data
(long value) Sets the specified value to thedata
field.Sets the specified value to theget_color_stops
field.long
get_color_stops_user_data
(long value) Sets the specified value to theget_color_stops_user_data
field.Sets the specified value to theget_extend
field.long
get_extend_user_data
(long value) Sets the specified value to theget_extend_user_data
field.static hb_color_line_t
malloc()
Returns a newhb_color_line_t
instance allocated withmemAlloc
.static hb_color_line_t.Buffer
malloc
(int capacity) Returns a newhb_color_line_t.Buffer
instance allocated withmemAlloc
.static hb_color_line_t.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newhb_color_line_t.Buffer
instance allocated on the specifiedMemoryStack
.static hb_color_line_t
malloc
(MemoryStack stack) Returns a newhb_color_line_t
instance allocated on the specifiedMemoryStack
.static long
ndata
(long struct) Unsafe version ofdata()
.static void
ndata
(long struct, long value) Unsafe version ofdata
.nget_color_stops
(long struct) Unsafe version ofget_color_stops()
.static void
nget_color_stops
(long struct, hb_color_line_get_color_stops_func_tI value) Unsafe version ofget_color_stops
.static long
nget_color_stops_user_data
(long struct) Unsafe version ofget_color_stops_user_data()
.static void
nget_color_stops_user_data
(long struct, long value) Unsafe version ofget_color_stops_user_data
.nget_extend
(long struct) Unsafe version ofget_extend()
.static void
nget_extend
(long struct, hb_color_line_get_extend_func_tI value) Unsafe version ofget_extend
.static long
nget_extend_user_data
(long struct) Unsafe version ofget_extend_user_data()
.static void
nget_extend_user_data
(long struct, long value) Unsafe version ofget_extend_user_data
.static long
nreserved0
(long struct) static void
nreserved0
(long struct, long value) static long
nreserved1
(long struct) static void
nreserved1
(long struct, long value) static long
nreserved2
(long struct) static void
nreserved2
(long struct, long value) static long
nreserved3
(long struct) static void
nreserved3
(long struct, long value) static long
nreserved4
(long struct) static void
nreserved4
(long struct, long value) static long
nreserved5
(long struct) static void
nreserved5
(long struct, long value) static long
nreserved6
(long struct) static void
nreserved6
(long struct, long value) static long
nreserved7
(long struct) static void
nreserved7
(long struct, long value) static long
nreserved8
(long struct) static void
nreserved8
(long struct, long value) set
(long data, hb_color_line_get_color_stops_func_tI get_color_stops, long get_color_stops_user_data, hb_color_line_get_extend_func_tI get_extend, long get_extend_user_data) Initializes this struct with the specified values.set
(hb_color_line_t src) Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DATA
public static final int DATAThe struct member offsets. -
GET_COLOR_STOPS
public static final int GET_COLOR_STOPSThe struct member offsets. -
GET_COLOR_STOPS_USER_DATA
public static final int GET_COLOR_STOPS_USER_DATAThe struct member offsets. -
GET_EXTEND
public static final int GET_EXTENDThe struct member offsets. -
GET_EXTEND_USER_DATA
public static final int GET_EXTEND_USER_DATAThe struct member offsets. -
RESERVED0
public static final int RESERVED0The struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
RESERVED2
public static final int RESERVED2The struct member offsets. -
RESERVED3
public static final int RESERVED3The struct member offsets. -
RESERVED4
public static final int RESERVED4The struct member offsets. -
RESERVED5
public static final int RESERVED5The struct member offsets. -
RESERVED6
public static final int RESERVED6The struct member offsets. -
RESERVED7
public static final int RESERVED7The struct member offsets. -
RESERVED8
public static final int RESERVED8The struct member offsets.
-
-
Constructor Details
-
hb_color_line_t
Creates ahb_color_line_t
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<hb_color_line_t>
-
data
public long data()- Returns:
- the value of the
data
field.
-
get_color_stops
- Returns:
- the value of the
get_color_stops
field.
-
get_color_stops_user_data
public long get_color_stops_user_data()- Returns:
- the value of the
get_color_stops_user_data
field.
-
get_extend
- Returns:
- the value of the
get_extend
field.
-
get_extend_user_data
public long get_extend_user_data()- Returns:
- the value of the
get_extend_user_data
field.
-
data
Sets the specified value to thedata
field. -
get_color_stops
Sets the specified value to theget_color_stops
field. -
get_color_stops_user_data
Sets the specified value to theget_color_stops_user_data
field. -
get_extend
Sets the specified value to theget_extend
field. -
get_extend_user_data
Sets the specified value to theget_extend_user_data
field. -
set
public hb_color_line_t set(long data, hb_color_line_get_color_stops_func_tI get_color_stops, long get_color_stops_user_data, hb_color_line_get_extend_func_tI get_extend, long get_extend_user_data) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newhb_color_line_t
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newhb_color_line_t
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newhb_color_line_t
instance allocated withBufferUtils
. -
create
Returns a newhb_color_line_t
instance for the specified memory address. -
createSafe
-
malloc
Returns a newhb_color_line_t.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newhb_color_line_t.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newhb_color_line_t.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create ahb_color_line_t.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newhb_color_line_t
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newhb_color_line_t
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newhb_color_line_t.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newhb_color_line_t.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
ndata
public static long ndata(long struct) Unsafe version ofdata()
. -
nget_color_stops
Unsafe version ofget_color_stops()
. -
nget_color_stops_user_data
public static long nget_color_stops_user_data(long struct) Unsafe version ofget_color_stops_user_data()
. -
nget_extend
Unsafe version ofget_extend()
. -
nget_extend_user_data
public static long nget_extend_user_data(long struct) Unsafe version ofget_extend_user_data()
. -
nreserved0
public static long nreserved0(long struct) -
nreserved1
public static long nreserved1(long struct) -
nreserved2
public static long nreserved2(long struct) -
nreserved3
public static long nreserved3(long struct) -
nreserved4
public static long nreserved4(long struct) -
nreserved5
public static long nreserved5(long struct) -
nreserved6
public static long nreserved6(long struct) -
nreserved7
public static long nreserved7(long struct) -
nreserved8
public static long nreserved8(long struct) -
ndata
public static void ndata(long struct, long value) Unsafe version ofdata
. -
nget_color_stops
Unsafe version ofget_color_stops
. -
nget_color_stops_user_data
public static void nget_color_stops_user_data(long struct, long value) Unsafe version ofget_color_stops_user_data
. -
nget_extend
Unsafe version ofget_extend
. -
nget_extend_user_data
public static void nget_extend_user_data(long struct, long value) Unsafe version ofget_extend_user_data
. -
nreserved0
public static void nreserved0(long struct, long value) -
nreserved1
public static void nreserved1(long struct, long value) -
nreserved2
public static void nreserved2(long struct, long value) -
nreserved3
public static void nreserved3(long struct, long value) -
nreserved4
public static void nreserved4(long struct, long value) -
nreserved5
public static void nreserved5(long struct, long value) -
nreserved6
public static void nreserved6(long struct, long value) -
nreserved7
public static void nreserved7(long struct, long value) -
nreserved8
public static void nreserved8(long struct, long value) -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-