struct nk_chart {
int slot;
float x;
float y;
float w;
float h;
struct nk_chart_slot slots[NK_CHART_MAX_SLOT];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkChart.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | H
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SLOT
The struct member offsets. |
| public static final int | SLOTS
The struct member offsets. |
| public static final int | W
The struct member offsets. |
| public static final int | X
The struct member offsets. |
| public static final int | Y
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkChart(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected NkChart | 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 NkChart | |
| public static NkChart. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkChart | |
| public static NkChart. | |
| public float | |
| public static float | |
| public static int | |
| public static NkChartSlot. | |
| public static NkChartSlot | |
| public static float | |
| public static float | |
| public static float | |
| public int | |
| public int | |
| public NkChartSlot. | |
| public NkChartSlot | |
| public float | |
| public float | |
| public float |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| H | back to summary |
|---|---|
| public static final int H The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SLOT | back to summary |
|---|---|
| public static final int SLOT The struct member offsets. | |
| SLOTS | back to summary |
|---|---|
| public static final int SLOTS The struct member offsets. | |
| W | back to summary |
|---|---|
| public static final int W The struct member offsets. | |
| X | back to summary |
|---|---|
| public static final int X The struct member offsets. | |
| Y | back to summary |
|---|---|
| public static final int Y The struct member offsets. | |
| NkChart | back to summary |
|---|---|
| protected NkChart(long address, ByteBuffer container) | |
| NkChart | back to summary |
|---|---|
| public NkChart(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected NkChart create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkChart create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkChart. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkChart createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkChart. Like
| |
| h | back to summary |
|---|---|
public float h()
| |
| nh | back to summary |
|---|---|
| public static float nh(long struct) Unsafe version of | |
| nslot | back to summary |
|---|---|
| public static int nslot(long struct) Unsafe version of | |
| nslots | back to summary |
|---|---|
| public static NkChartSlot. Unsafe version of | |
| nslots | back to summary |
|---|---|
| public static NkChartSlot nslots(long struct, int index) Unsafe version of | |
| nw | back to summary |
|---|---|
| public static float nw(long struct) Unsafe version of | |
| nx | back to summary |
|---|---|
| public static float nx(long struct) Unsafe version of | |
| ny | back to summary |
|---|---|
| public static float ny(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| slot | back to summary |
|---|---|
public int slot()
| |
| slots | back to summary |
|---|---|
public NkChartSlot.
| |
| slots | back to summary |
|---|---|
public NkChartSlot slots(int index)
| |
| w | back to summary |
|---|---|
public float w()
| |
| x | back to summary |
|---|---|
public float x()
| |
| y | back to summary |
|---|---|
public float y()
| |
NkChart structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkChart |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected NkChart | |
| public float | |
| protected NkChart. | |
| public int | |
| public NkChartSlot. | |
| public NkChartSlot | |
| public float | |
| public float | |
| public float |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkChart 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) | |
| getElementFactory | back to summary |
|---|---|
| protected NkChart getElementFactory() Implements abstract org.
| |
| h | back to summary |
|---|---|
public float h()
| |
| self | back to summary |
|---|---|
| protected NkChart. Implements abstract org.
| |
| slot | back to summary |
|---|---|
public int slot()
| |
| slots | back to summary |
|---|---|
public NkChartSlot.
| |
| slots | back to summary |
|---|---|
public NkChartSlot slots(int index)
| |
| w | back to summary |
|---|---|
public float w()
| |
| x | back to summary |
|---|---|
public float x()
| |
| y | back to summary |
|---|---|
public float y()
| |