Package org.lwjgl.util.harfbuzz
Class hb_color_line_t
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct hb_color_line_t {
void * data;
hb_color_line_get_color_stops_func_t get_color_stops;
void * get_color_stops_user_data;
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.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 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_tinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic hb_color_line_tcalloc()Returns a newhb_color_line_tinstance allocated withmemCalloc.static hb_color_line_t.Buffercalloc(int capacity) Returns a newhb_color_line_t.Bufferinstance allocated withmemCalloc.static hb_color_line_t.Buffercalloc(int capacity, MemoryStack stack) Returns a newhb_color_line_t.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static hb_color_line_tcalloc(MemoryStack stack) Returns a newhb_color_line_tinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static hb_color_line_tcreate()Returns a newhb_color_line_tinstance allocated withBufferUtils.static hb_color_line_t.Buffercreate(int capacity) Returns a newhb_color_line_t.Bufferinstance allocated withBufferUtils.static hb_color_line_tcreate(long address) Returns a newhb_color_line_tinstance for the specified memory address.static hb_color_line_t.Buffercreate(long address, int capacity) Create ahb_color_line_t.Bufferinstance at the specified memory.static @Nullable hb_color_line_tcreateSafe(long address) static @Nullable hb_color_line_t.BuffercreateSafe(long address, int capacity) longdata()data(long value) Sets the specified value to thedatafield.Sets the specified value to theget_color_stopsfield.longget_color_stops_user_data(long value) Sets the specified value to theget_color_stops_user_datafield.Sets the specified value to theget_extendfield.longget_extend_user_data(long value) Sets the specified value to theget_extend_user_datafield.static hb_color_line_tmalloc()Returns a newhb_color_line_tinstance allocated withmemAlloc.static hb_color_line_t.Buffermalloc(int capacity) Returns a newhb_color_line_t.Bufferinstance allocated withmemAlloc.static hb_color_line_t.Buffermalloc(int capacity, MemoryStack stack) Returns a newhb_color_line_t.Bufferinstance allocated on the specifiedMemoryStack.static hb_color_line_tmalloc(MemoryStack stack) Returns a newhb_color_line_tinstance allocated on the specifiedMemoryStack.static longndata(long struct) Unsafe version ofdata().static voidndata(long struct, long value) Unsafe version ofdata.nget_color_stops(long struct) Unsafe version ofget_color_stops().static voidnget_color_stops(long struct, hb_color_line_get_color_stops_func_tI value) Unsafe version ofget_color_stops.static longnget_color_stops_user_data(long struct) Unsafe version ofget_color_stops_user_data().static voidnget_color_stops_user_data(long struct, long value) Unsafe version ofget_color_stops_user_data.nget_extend(long struct) Unsafe version ofget_extend().static voidnget_extend(long struct, hb_color_line_get_extend_func_tI value) Unsafe version ofget_extend.static longnget_extend_user_data(long struct) Unsafe version ofget_extend_user_data().static voidnget_extend_user_data(long struct, long value) Unsafe version ofget_extend_user_data.static longnreserved0(long struct) static voidnreserved0(long struct, long value) static longnreserved1(long struct) static voidnreserved1(long struct, long value) static longnreserved2(long struct) static voidnreserved2(long struct, long value) static longnreserved3(long struct) static voidnreserved3(long struct, long value) static longnreserved4(long struct) static voidnreserved4(long struct, long value) static longnreserved5(long struct) static voidnreserved5(long struct, long value) static longnreserved6(long struct) static voidnreserved6(long struct, long value) static longnreserved7(long struct) static voidnreserved7(long struct, long value) static longnreserved8(long struct) static voidnreserved8(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.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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_tinstance 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<hb_color_line_t>
-
data
public long data()- Returns:
- the value of the
datafield.
-
get_color_stops
- Returns:
- the value of the
get_color_stopsfield.
-
get_color_stops_user_data
public long get_color_stops_user_data()- Returns:
- the value of the
get_color_stops_user_datafield.
-
get_extend
- Returns:
- the value of the
get_extendfield.
-
get_extend_user_data
public long get_extend_user_data()- Returns:
- the value of the
get_extend_user_datafield.
-
data
Sets the specified value to thedatafield. -
get_color_stops
Sets the specified value to theget_color_stopsfield. -
get_color_stops_user_data
Sets the specified value to theget_color_stops_user_datafield. -
get_extend
Sets the specified value to theget_extendfield. -
get_extend_user_data
Sets the specified value to theget_extend_user_datafield. -
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_tinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newhb_color_line_tinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newhb_color_line_tinstance allocated withBufferUtils. -
create
Returns a newhb_color_line_tinstance for the specified memory address. -
createSafe
-
malloc
Returns a newhb_color_line_t.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newhb_color_line_t.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newhb_color_line_t.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create ahb_color_line_t.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newhb_color_line_tinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newhb_color_line_tinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newhb_color_line_t.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newhb_color_line_t.Bufferinstance allocated on the specifiedMemoryStackand 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
-