struct nk_font_config {
struct nk_font_config * next;
void * ttf_blob;
nk_size ttf_size;
unsigned char ttf_data_owned_by_atlas;
unsigned char merge_mode;
unsigned char pixel_snap;
unsigned char oversample_v;
unsigned char oversample_h;
unsigned char padding[3];
float size;
enum nk_font_coord_type coord_type;
struct nk_vec2 spacing;
nk_rune const * range;
struct nk_baked_font * font;
nk_rune fallback_glyph;
struct nk_font_config * n;
struct nk_font_config * p;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkFontConfig.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COORD_TYPE
The struct member offsets. |
| public static final int | FALLBACK_GLYPH
The struct member offsets. |
| public static final int | FONT
The struct member offsets. |
| public static final int | MERGE_MODE
The struct member offsets. |
| public static final int | N
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | OVERSAMPLE_H
The struct member offsets. |
| public static final int | OVERSAMPLE_V
The struct member offsets. |
| public static final int | P
The struct member offsets. |
| public static final int | PADDING
The struct member offsets. |
| public static final int | PIXEL_SNAP
The struct member offsets. |
| public static final int | RANGE
The struct member offsets. |
| public static final int | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPACING
The struct member offsets. |
| public static final int | TTF_BLOB
The struct member offsets. |
| public static final int | TTF_DATA_OWNED_BY_ATLAS
The struct member offsets. |
| public static final int | TTF_SIZE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkFontConfig(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NkFontConfig | |
| public static NkFontConfig. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkFontConfig | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkFontConfig. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public NkFontConfig | |
| protected NkFontConfig | 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 NkFontConfig | |
| public static NkFontConfig | |
| public static NkFontConfig. | create(int
the buffer capacity capacity)Returns a new |
| public static NkFontConfig. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkFontConfig | |
| public static NkFontConfig. | |
| public int | |
| public NkFontConfig | |
| public NkBakedFont | |
| public NkFontConfig | |
| public static NkFontConfig | |
| public static NkFontConfig. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkFontConfig | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkFontConfig. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | |
| public NkFontConfig | |
| public NkFontConfig | |
| public NkFontConfig | |
| public static int | |
| public static void | |
| public NkFontConfig | |
| public NkFontConfig | |
| public static int | |
| public static void | |
| public static NkBakedFont | |
| public static void | |
| public static boolean | |
| public static void | |
| public static NkFontConfig | |
| public static void | |
| public static NkFontConfig | |
| public static void | |
| public static boolean | |
| public static void | |
| public static boolean | |
| public static void | |
| public static NkFontConfig | |
| public static void | |
| public static ByteBuffer | |
| public static byte | |
| public static void | |
| public static void | |
| public static boolean | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static float | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static boolean | |
| public static void | |
| public static long | |
| public static void | nttf_size(long struct, long value)
Sets the specified value to the |
| public boolean | |
| public NkFontConfig | |
| public boolean | |
| public NkFontConfig | |
| public NkFontConfig | |
| public NkFontConfig | |
| public ByteBuffer | |
| public byte | |
| public NkFontConfig | |
| public NkFontConfig | |
| public boolean | |
| public NkFontConfig | |
| public IntBuffer | Returns: list of unicode ranges (2 values per range, zero terminated)the number of elements in the returned buffer capacity)
|
| public NkFontConfig | |
| public NkFontConfig | set(NkFontConfig next, ByteBuffer ttf_blob, long ttf_size, boolean ttf_data_owned_by_atlas, boolean merge_mode, boolean pixel_snap, boolean oversample_v, boolean oversample_h, ByteBuffer padding, float size, int coord_type, NkVec2 spacing, IntBuffer range, NkBakedFont font, int fallback_glyph, NkFontConfig n, NkFontConfig p)
Initializes this struct with the specified values. |
| public NkFontConfig | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public float | |
| public NkFontConfig | |
| public int | |
| public NkVec2 | |
| public NkFontConfig | |
| public NkFontConfig | |
| public ByteBuffer | |
| public NkFontConfig | |
| public boolean | |
| public NkFontConfig | ttf_data_owned_by_atlas(boolean value)
Sets the specified value to the |
| public long | |
| public NkFontConfig |