hb_buffer_t.
Can be set and retrieved using buffer_set_segment_properties and buffer_get_segment_properties, respectively.
struct hb_segment_properties_t {
hb_direction_t direction;
hb_script_t script;
hb_language_t language;
void * reserved1;
void * reserved2;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | hb_segment_properties_t.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DIRECTION
The struct member offsets. |
| public static final int | LANGUAGE
The struct member offsets. |
| public static final int | RESERVED1
The struct member offsets. |
| public static final int | RESERVED2
The struct member offsets. |
| public static final int | SCRIPT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | hb_segment_properties_t(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static hb_segment_properties_t | |
| public static hb_segment_properties_t. | calloc(int
the buffer capacity capacity)Returns a new |
| public static hb_segment_properties_t | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static hb_segment_properties_t. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected hb_segment_properties_t | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static hb_segment_properties_t | |
| public static hb_segment_properties_t | create(long address)
Returns a new |
| public static hb_segment_properties_t. | create(int
the buffer capacity capacity)Returns a new |
| public static hb_segment_properties_t. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static hb_segment_properties_t | |
| public static hb_segment_properties_t. | |
| public int | |
| public hb_segment_properties_t | |
| public long | |
| public hb_segment_properties_t | |
| public static hb_segment_properties_t | |
| public static hb_segment_properties_t. | malloc(int
the buffer capacity capacity)Returns a new |
| public static hb_segment_properties_t | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static hb_segment_properties_t. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public hb_segment_properties_t | |
| public hb_segment_properties_t | |
| public hb_segment_properties_t | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DIRECTION | back to summary |
|---|---|
| public static final int DIRECTION The struct member offsets. | |
| LANGUAGE | back to summary |
|---|---|
| public static final int LANGUAGE The struct member offsets. | |
| RESERVED1 | back to summary |
|---|---|
| public static final int RESERVED1 The struct member offsets. | |
| RESERVED2 | back to summary |
|---|---|
| public static final int RESERVED2 The struct member offsets. | |
| SCRIPT | back to summary |
|---|---|
| public static final int SCRIPT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| hb_segment_properties_t | back to summary |
|---|---|
| protected hb_segment_properties_t(long address, ByteBuffer container) | |
| hb_segment_properties_t | back to summary |
|---|---|
| public hb_segment_properties_t(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static hb_segment_properties_t calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static hb_segment_properties_t. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static hb_segment_properties_t calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static hb_segment_properties_t. Returns a new
| |
| create | back to summary |
|---|---|
| protected hb_segment_properties_t create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static hb_segment_properties_t create() Returns a new | |
| create | back to summary |
|---|---|
| public static hb_segment_properties_t create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static hb_segment_properties_t. Returns a new
| |
| create | back to summary |
|---|---|
| public static hb_segment_properties_t. Create a
| |
| createSafe | back to summary |
|---|---|
| public static hb_segment_properties_t createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static hb_segment_properties_t. Like
| |
| direction | back to summary |
|---|---|
| public int direction() the
| |
| direction | back to summary |
|---|---|
| public hb_segment_properties_t direction(int value) Sets the specified value to the | |
| language | back to summary |
|---|---|
| public long language() the
| |
| language | back to summary |
|---|---|
| public hb_segment_properties_t language(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static hb_segment_properties_t malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static hb_segment_properties_t. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static hb_segment_properties_t malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static hb_segment_properties_t. Returns a new
| |
| ndirection | back to summary |
|---|---|
| public static int ndirection(long struct) Unsafe version of | |
| ndirection | back to summary |
|---|---|
| public static void ndirection(long struct, int value) Unsafe version of | |
| nlanguage | back to summary |
|---|---|
| public static long nlanguage(long struct) Unsafe version of | |
| nlanguage | back to summary |
|---|---|
| public static void nlanguage(long struct, long value) Unsafe version of | |
| nreserved1 | back to summary |
|---|---|
| public static long nreserved1(long struct) | |
| nreserved1 | back to summary |
|---|---|
| public static void nreserved1(long struct, long value) | |
| nreserved2 | back to summary |
|---|---|
| public static long nreserved2(long struct) | |
| nreserved2 | back to summary |
|---|---|
| public static void nreserved2(long struct, long value) | |
| nscript | back to summary |
|---|---|
| public static int nscript(long struct) Unsafe version of | |
| nscript | back to summary |
|---|---|
| public static void nscript(long struct, int value) Unsafe version of | |
| script | back to summary |
|---|---|
| public int script() the
| |
| script | back to summary |
|---|---|
| public hb_segment_properties_t script(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public hb_segment_properties_t set(int direction, int script, long language) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public hb_segment_properties_t set(hb_segment_properties_t src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
hb_segment_properties_t structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final hb_segment_properties_t |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public hb_segment_properties_t. | |
| protected hb_segment_properties_t | |
| public long | |
| public hb_segment_properties_t. | |
| public int | |
| public hb_segment_properties_t. | |
| protected hb_segment_properties_t. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final hb_segment_properties_t ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| direction | back to summary |
|---|---|
public int direction()
| |
| direction | back to summary |
|---|---|
| public hb_segment_properties_t. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected hb_segment_properties_t getElementFactory() Implements abstract org.
| |
| language | back to summary |
|---|---|
public long language()
| |
| language | back to summary |
|---|---|
| public hb_segment_properties_t. Sets the specified value to the | |
| script | back to summary |
|---|---|
public int script()
| |
| script | back to summary |
|---|---|
| public hb_segment_properties_t. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected hb_segment_properties_t. Implements abstract org.
| |