Note that typically ascender is positive and descender negative, in coordinate systems that grow up.
struct hb_font_extents_t {
hb_position_t ascender;
hb_position_t descender;
hb_position_t line_gap;
hb_position_t reserved9;
hb_position_t reserved8;
hb_position_t reserved7;
hb_position_t reserved6;
hb_position_t reserved5;
hb_position_t reserved4;
hb_position_t reserved3;
hb_position_t reserved2;
hb_position_t reserved1;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | hb_font_extents_t.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ASCENDER
The struct member offsets. |
| public static final int | DESCENDER
The struct member offsets. |
| public static final int | LINE_GAP
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 | RESERVED3
The struct member offsets. |
| public static final int | RESERVED4
The struct member offsets. |
| public static final int | RESERVED5
The struct member offsets. |
| public static final int | RESERVED6
The struct member offsets. |
| public static final int | RESERVED7
The struct member offsets. |
| public static final int | RESERVED8
The struct member offsets. |
| public static final int | RESERVED9
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | hb_font_extents_t(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public hb_font_extents_t | |
| public static hb_font_extents_t | |
| public static hb_font_extents_t. | calloc(int
the buffer capacity capacity)Returns a new |
| public static hb_font_extents_t | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static hb_font_extents_t. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected hb_font_extents_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_font_extents_t | |
| public static hb_font_extents_t | |
| public static hb_font_extents_t. | create(int
the buffer capacity capacity)Returns a new |
| public static hb_font_extents_t. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static hb_font_extents_t | |
| public static hb_font_extents_t. | |
| public int | |
| public hb_font_extents_t | |
| public int | |
| public hb_font_extents_t | |
| public static hb_font_extents_t | |
| public static hb_font_extents_t. | malloc(int
the buffer capacity capacity)Returns a new |
| public static hb_font_extents_t | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static hb_font_extents_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 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 static int | |
| public static void | |
| public static int | |
| public static void | |
| public hb_font_extents_t | |
| public hb_font_extents_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. | |
| ASCENDER | back to summary |
|---|---|
| public static final int ASCENDER The struct member offsets. | |
| DESCENDER | back to summary |
|---|---|
| public static final int DESCENDER The struct member offsets. | |
| LINE_GAP | back to summary |
|---|---|
| public static final int LINE_GAP 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. | |
| RESERVED3 | back to summary |
|---|---|
| public static final int RESERVED3 The struct member offsets. | |
| RESERVED4 | back to summary |
|---|---|
| public static final int RESERVED4 The struct member offsets. | |
| RESERVED5 | back to summary |
|---|---|
| public static final int RESERVED5 The struct member offsets. | |
| RESERVED6 | back to summary |
|---|---|
| public static final int RESERVED6 The struct member offsets. | |
| RESERVED7 | back to summary |
|---|---|
| public static final int RESERVED7 The struct member offsets. | |
| RESERVED8 | back to summary |
|---|---|
| public static final int RESERVED8 The struct member offsets. | |
| RESERVED9 | back to summary |
|---|---|
| public static final int RESERVED9 The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| hb_font_extents_t | back to summary |
|---|---|
| protected hb_font_extents_t(long address, ByteBuffer container) | |
| hb_font_extents_t | back to summary |
|---|---|
| public hb_font_extents_t(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| ascender | back to summary |
|---|---|
| public int ascender() the height of typographic ascenders
| |
| ascender | back to summary |
|---|---|
| public hb_font_extents_t ascender(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static hb_font_extents_t calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static hb_font_extents_t. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static hb_font_extents_t calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static hb_font_extents_t. Returns a new
| |
| create | back to summary |
|---|---|
| protected hb_font_extents_t create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static hb_font_extents_t create() Returns a new | |
| create | back to summary |
|---|---|
| public static hb_font_extents_t create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static hb_font_extents_t. Returns a new
| |
| create | back to summary |
|---|---|
| public static hb_font_extents_t. Create a
| |
| createSafe | back to summary |
|---|---|
| public static hb_font_extents_t createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static hb_font_extents_t. Like
| |
| descender | back to summary |
|---|---|
| public int descender() the depth of typographic descenders
| |
| descender | back to summary |
|---|---|
| public hb_font_extents_t descender(int value) Sets the specified value to the | |
| line_gap | back to summary |
|---|---|
| public int line_gap() the suggested line-spacing gap
| |
| line_gap | back to summary |
|---|---|
| public hb_font_extents_t line_gap(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static hb_font_extents_t malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static hb_font_extents_t. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static hb_font_extents_t malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static hb_font_extents_t. Returns a new
| |
| nascender | back to summary |
|---|---|
| public static int nascender(long struct) Unsafe version of | |
| nascender | back to summary |
|---|---|
| public static void nascender(long struct, int value) Unsafe version of | |
| ndescender | back to summary |
|---|---|
| public static int ndescender(long struct) Unsafe version of | |
| ndescender | back to summary |
|---|---|
| public static void ndescender(long struct, int value) Unsafe version of | |
| nline_gap | back to summary |
|---|---|
| public static int nline_gap(long struct) Unsafe version of | |
| nline_gap | back to summary |
|---|---|
| public static void nline_gap(long struct, int value) Unsafe version of | |
| nreserved1 | back to summary |
|---|---|
| public static int nreserved1(long struct) | |
| nreserved1 | back to summary |
|---|---|
| public static void nreserved1(long struct, int value) | |
| nreserved2 | back to summary |
|---|---|
| public static int nreserved2(long struct) | |
| nreserved2 | back to summary |
|---|---|
| public static void nreserved2(long struct, int value) | |
| nreserved3 | back to summary |
|---|---|
| public static int nreserved3(long struct) | |
| nreserved3 | back to summary |
|---|---|
| public static void nreserved3(long struct, int value) | |
| nreserved4 | back to summary |
|---|---|
| public static int nreserved4(long struct) | |
| nreserved4 | back to summary |
|---|---|
| public static void nreserved4(long struct, int value) | |
| nreserved5 | back to summary |
|---|---|
| public static int nreserved5(long struct) | |
| nreserved5 | back to summary |
|---|---|
| public static void nreserved5(long struct, int value) | |
| nreserved6 | back to summary |
|---|---|
| public static int nreserved6(long struct) | |
| nreserved6 | back to summary |
|---|---|
| public static void nreserved6(long struct, int value) | |
| nreserved7 | back to summary |
|---|---|
| public static int nreserved7(long struct) | |
| nreserved7 | back to summary |
|---|---|
| public static void nreserved7(long struct, int value) | |
| nreserved8 | back to summary |
|---|---|
| public static int nreserved8(long struct) | |
| nreserved8 | back to summary |
|---|---|
| public static void nreserved8(long struct, int value) | |
| nreserved9 | back to summary |
|---|---|
| public static int nreserved9(long struct) | |
| nreserved9 | back to summary |
|---|---|
| public static void nreserved9(long struct, int value) | |
| set | back to summary |
|---|---|
| public hb_font_extents_t set(int ascender, int descender, int line_gap) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public hb_font_extents_t set(hb_font_extents_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_font_extents_t structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final hb_font_extents_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_font_extents_t. | |
| public int | |
| public hb_font_extents_t. | |
| protected hb_font_extents_t | |
| public int | |
| public hb_font_extents_t. | |
| protected hb_font_extents_t. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final hb_font_extents_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) | |
| ascender | back to summary |
|---|---|
public int ascender()
| |
| ascender | back to summary |
|---|---|
| public hb_font_extents_t. Sets the specified value to the | |
| descender | back to summary |
|---|---|
public int descender()
| |
| descender | back to summary |
|---|---|
| public hb_font_extents_t. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected hb_font_extents_t getElementFactory() Implements abstract org.
| |
| line_gap | back to summary |
|---|---|
public int line_gap()
| |
| line_gap | back to summary |
|---|---|
| public hb_font_extents_t. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected hb_font_extents_t. Implements abstract org.
| |