Large variants for stretchable math glyphs (such as parentheses) can be constructed on the fly from parts.
struct hb_ot_math_glyph_part_t {
hb_codepoint_t glyph;
hb_position_t start_connector_length;
hb_position_t end_connector_length;
hb_position_t full_advance;
hb_ot_math_glyph_part_flags_t flags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | hb_ot_math_glyph_part_t.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | END_CONNECTOR_LENGTH
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | FULL_ADVANCE
The struct member offsets. |
| public static final int | GLYPH
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | START_CONNECTOR_LENGTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | hb_ot_math_glyph_part_t(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static hb_ot_math_glyph_part_t | |
| public static hb_ot_math_glyph_part_t. | calloc(int
the buffer capacity capacity)Returns a new |
| public static hb_ot_math_glyph_part_t | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static hb_ot_math_glyph_part_t. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected hb_ot_math_glyph_part_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_ot_math_glyph_part_t | |
| public static hb_ot_math_glyph_part_t | create(long address)
Returns a new |
| public static hb_ot_math_glyph_part_t. | create(int
the buffer capacity capacity)Returns a new |
| public static hb_ot_math_glyph_part_t. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static hb_ot_math_glyph_part_t | |
| public static hb_ot_math_glyph_part_t. | |
| public int | |
| public hb_ot_math_glyph_part_t | |
| public int | |
| public hb_ot_math_glyph_part_t | |
| public int | |
| public hb_ot_math_glyph_part_t | |
| public int | |
| public hb_ot_math_glyph_part_t | |
| public static hb_ot_math_glyph_part_t | |
| public static hb_ot_math_glyph_part_t. | malloc(int
the buffer capacity capacity)Returns a new |
| public static hb_ot_math_glyph_part_t | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static hb_ot_math_glyph_part_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 int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public hb_ot_math_glyph_part_t | set(int glyph, int start_connector_length, int end_connector_length, int full_advance, int flags)
Initializes this struct with the specified values. |
| public hb_ot_math_glyph_part_t | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public hb_ot_math_glyph_part_t |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| END_CONNECTOR_LENGTH | back to summary |
|---|---|
| public static final int END_CONNECTOR_LENGTH The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| FULL_ADVANCE | back to summary |
|---|---|
| public static final int FULL_ADVANCE The struct member offsets. | |
| GLYPH | back to summary |
|---|---|
| public static final int GLYPH The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| START_CONNECTOR_LENGTH | back to summary |
|---|---|
| public static final int START_CONNECTOR_LENGTH The struct member offsets. | |
| hb_ot_math_glyph_part_t | back to summary |
|---|---|
| protected hb_ot_math_glyph_part_t(long address, ByteBuffer container) | |
| hb_ot_math_glyph_part_t | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Returns a new
| |
| create | back to summary |
|---|---|
| protected hb_ot_math_glyph_part_t create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t create() Returns a new | |
| create | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Returns a new
| |
| create | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Create a
| |
| createSafe | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Like
| |
| end_connector_length | back to summary |
|---|---|
| public int end_connector_length() the length of the connector on the ending side of the variant part
| |
| end_connector_length | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t end_connector_length(int value) Sets the specified value to the | |
| flags | back to summary |
|---|---|
| public int flags() flags for the part
| |
| flags | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t flags(int value) Sets the specified value to the | |
| full_advance | back to summary |
|---|---|
| public int full_advance() the total advance of the part
| |
| full_advance | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t full_advance(int value) Sets the specified value to the | |
| glyph | back to summary |
|---|---|
| public int glyph() the glyph index of the variant part
| |
| glyph | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t glyph(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static hb_ot_math_glyph_part_t. Returns a new
| |
| nend_connector_length | back to summary |
|---|---|
| public static int nend_connector_length(long struct) Unsafe version of | |
| nend_connector_length | back to summary |
|---|---|
| public static void nend_connector_length(long struct, int value) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| nfull_advance | back to summary |
|---|---|
| public static int nfull_advance(long struct) Unsafe version of | |
| nfull_advance | back to summary |
|---|---|
| public static void nfull_advance(long struct, int value) Unsafe version of | |
| nglyph | back to summary |
|---|---|
| public static int nglyph(long struct) Unsafe version of | |
| nglyph | back to summary |
|---|---|
| public static void nglyph(long struct, int value) Unsafe version of | |
| nstart_connector_length | back to summary |
|---|---|
| public static int nstart_connector_length(long struct) Unsafe version of | |
| nstart_connector_length | back to summary |
|---|---|
| public static void nstart_connector_length(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t set(int glyph, int start_connector_length, int end_connector_length, int full_advance, int flags) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t set(hb_ot_math_glyph_part_t src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| start_connector_length | back to summary |
|---|---|
| public int start_connector_length() the length of the connector on the starting side of the variant part
| |
| start_connector_length | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t start_connector_length(int value) Sets the specified value to the | |
hb_ot_math_glyph_part_t structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final hb_ot_math_glyph_part_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_ot_math_glyph_part_t. | end_connector_length(int value)
Sets the specified value to the |
| public int | |
| public hb_ot_math_glyph_part_t. | |
| public int | |
| public hb_ot_math_glyph_part_t. | |
| protected hb_ot_math_glyph_part_t | |
| public int | |
| public hb_ot_math_glyph_part_t. | |
| protected hb_ot_math_glyph_part_t. | |
| public int | Returns: the value of thehb_ot_math_glyph_part_t#start_connector_length field.
|
| public hb_ot_math_glyph_part_t. | start_connector_length(int value)
Sets the specified value to the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final hb_ot_math_glyph_part_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) | |
| end_connector_length | back to summary |
|---|---|
public int end_connector_length()
| |
| end_connector_length | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t. Sets the specified value to the | |
| full_advance | back to summary |
|---|---|
public int full_advance()
| |
| full_advance | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected hb_ot_math_glyph_part_t getElementFactory() Implements abstract org.
| |
| glyph | back to summary |
|---|---|
public int glyph()
| |
| glyph | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected hb_ot_math_glyph_part_t. Implements abstract org.
| |
| start_connector_length | back to summary |
|---|---|
public int start_connector_length()
| |
| start_connector_length | back to summary |
|---|---|
| public hb_ot_math_glyph_part_t. Sets the specified value to the | |