struct NVGtextRow {
char * start;
char * end;
char * next;
float width;
float minx;
float maxx;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NVGTextRow.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | END
The struct member offsets. |
| public static final int | MAXX
The struct member offsets. |
| public static final int | MINX
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | START
The struct member offsets. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NVGTextRow(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NVGTextRow | |
| public static NVGTextRow. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NVGTextRow | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NVGTextRow. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NVGTextRow | |
| public static NVGTextRow | |
| public static NVGTextRow. | |
| public static NVGTextRow. | |
| protected NVGTextRow | 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 NVGTextRow | |
| public static NVGTextRow | |
| public static NVGTextRow. | create(int
the buffer capacity capacity)Returns a new |
| public static NVGTextRow. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NVGTextRow | |
| public static NVGTextRow. | |
| public long | |
| public static NVGTextRow | |
| public static NVGTextRow. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NVGTextRow | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NVGTextRow. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NVGTextRow | |
| public static NVGTextRow | |
| public static NVGTextRow. | |
| public static NVGTextRow. | |
| public float | |
| public float | |
| public static long | |
| public long | |
| public static float | |
| public static float | |
| public static long | |
| public static long | |
| public static float | |
| public int | |
| public long | |
| public float |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| END | back to summary |
|---|---|
| public static final int END The struct member offsets. | |
| MAXX | back to summary |
|---|---|
| public static final int MAXX The struct member offsets. | |
| MINX | back to summary |
|---|---|
| public static final int MINX The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| START | back to summary |
|---|---|
| public static final int START The struct member offsets. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| NVGTextRow | back to summary |
|---|---|
| protected NVGTextRow(long address, ByteBuffer container) | |
| NVGTextRow | back to summary |
|---|---|
| public NVGTextRow(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static NVGTextRow calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NVGTextRow. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NVGTextRow calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NVGTextRow. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NVGTextRow callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NVGTextRow callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NVGTextRow. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NVGTextRow. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected NVGTextRow create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NVGTextRow create() Returns a new | |
| create | back to summary |
|---|---|
| public static NVGTextRow create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NVGTextRow. Returns a new
| |
| create | back to summary |
|---|---|
| public static NVGTextRow. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NVGTextRow createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NVGTextRow. Like
| |
| end | back to summary |
|---|---|
| public long end() pointer to the input text where the row ends (one past the last character
| |
| malloc | back to summary |
|---|---|
| public static NVGTextRow malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NVGTextRow. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NVGTextRow malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NVGTextRow. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NVGTextRow mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NVGTextRow mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NVGTextRow. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NVGTextRow. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| maxx | back to summary |
|---|---|
| public float maxx() actual right bound of the row. Logical width and bounds can differ because of kerning and some parts over extending. | |
| minx | back to summary |
|---|---|
| public float minx() actual left bound of the row. Logical width and bounds can differ because of kerning and some parts over extending. | |
| nend | back to summary |
|---|---|
| public static long nend(long struct) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next() pointer to the beginning of the next row
| |
| nmaxx | back to summary |
|---|---|
| public static float nmaxx(long struct) Unsafe version of | |
| nminx | back to summary |
|---|---|
| public static float nminx(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static long nnext(long struct) Unsafe version of | |
| nstart | back to summary |
|---|---|
| public static long nstart(long struct) Unsafe version of | |
| nwidth | back to summary |
|---|---|
| public static float nwidth(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| start | back to summary |
|---|---|
| public long start() pointer to the input text where the row starts
| |
| width | back to summary |
|---|---|
| public float width() logical width of the row | |
NVGTextRow structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NVGTextRow |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| protected NVGTextRow | |
| public float | |
| public float | |
| public long | |
| protected NVGTextRow. | |
| public long | |
| public float |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NVGTextRow 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 | back to summary |
|---|---|
public long end()
| |
| getElementFactory | back to summary |
|---|---|
| protected NVGTextRow getElementFactory() Implements abstract org.
| |
| maxx | back to summary |
|---|---|
public float maxx()
| |
| minx | back to summary |
|---|---|
public float minx()
| |
| next | back to summary |
|---|---|
public long next()
| |
| self | back to summary |
|---|---|
| protected NVGTextRow. Implements abstract org.
| |
| start | back to summary |
|---|---|
public long start()
| |
| width | back to summary |
|---|---|
public float width()
| |