Lines Matching defs:index
108 /// NK_UINT_DRAW_INDEX | Defining this will set the size of vertex index elements when using NK_VERTEX_BUFFER_OUTPUT to 32bit instead of the default of 16bit
666 /// __data__ | Handle with either pointer or index to be passed into every draw commands
2787 /// by `__FILE__` and a user provided ID generated for example by loop index with
2870 /// __id__ | Loop counter index if this function is called in a loop
2933 /// __id__ | Loop counter index if this function is called in a loop
3462 NK_API void nk_plot_function(struct nk_context*, enum nk_chart_type, void *userdata, float(*value_getter)(void* user, int index), int count, int offset);
3746 NK_API const char* nk_utf_at(const char *buffer, int length, int index, nk_rune *unicode, int *len);
5276 int index;
5299 int index;
7961 nk_utf_at(const char *buffer, int length, int index,
7975 if (index < 0) {
7985 if (i == index) {
7994 if (i != index) return 0;
8532 int index;
8545 index = str->len - len;
8546 begin = nk_str_at_rune(str, index, &unicode, &len);
9658 nk_size index = list->vertex_count;
9713 idx1 = index;
9718 nk_size idx2 = ((i1+1) == points_count) ? index: (idx1 + 3);
9772 idx1 = index;
9776 nk_size idx2 = ((i1+1) == points_count) ? index: (idx1 + 4);
9892 nk_size index = list->vertex_count;
9902 unsigned int vtx_inner_idx = (unsigned int)(index + 0);
9903 unsigned int vtx_outer_idx = (unsigned int)(index + 1);
9970 nk_size index = list->vertex_count;
9980 ids[0] = (nk_draw_index)index;
9981 ids[1] = (nk_draw_index)(index+ i - 1);
9982 ids[2] = (nk_draw_index)(index+i);
10200 nk_draw_index index;
10211 index = (nk_draw_index)list->vertex_count;
10216 idx[0] = (nk_draw_index)(index+0); idx[1] = (nk_draw_index)(index+1);
10217 idx[2] = (nk_draw_index)(index+2); idx[3] = (nk_draw_index)(index+0);
10218 idx[4] = (nk_draw_index)(index+2); idx[5] = (nk_draw_index)(index+3);
10293 nk_draw_index index;
10303 index = (nk_draw_index)list->vertex_count;
10308 idx[0] = (nk_draw_index)(index+0); idx[1] = (nk_draw_index)(index+1);
10309 idx[2] = (nk_draw_index)(index+2); idx[3] = (nk_draw_index)(index+0);
10310 idx[4] = (nk_draw_index)(index+2); idx[5] = (nk_draw_index)(index+3);
10979 int indexToLocFormat; /* format needed to map from glyph index to glyph */
11275 if (glyph_index >= info->numGlyphs) return -1; /* glyph index out of range */
11276 if (info->indexToLocFormat >= 2) return -1; /* unknown index->glyph map format */
15689 layout->row.index = 0;
17671 layout->row.index = 0;
18188 item_offset = (float)layout->row.index * w;
18190 item_spacing = (float)layout->row.index * spacing.x;
18202 layout->row.index = 0;
18219 ratio = (layout->row.ratio[layout->row.index] < 0) ?
18220 layout->row.item_width : layout->row.ratio[layout->row.index];
18223 item_spacing = (float)layout->row.index * spacing.x;
18235 item_offset = (float)layout->row.index * item_width;
18236 item_spacing = (float)layout->row.index * spacing.x;
18242 item_spacing = (float)layout->row.index * spacing.x;
18259 item_spacing = (float)layout->row.index * spacing.x;
18260 item_width = layout->row.ratio[layout->row.index];
18267 NK_ASSERT(layout->row.index < layout->row.columns);
18268 NK_ASSERT(layout->row.index < NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS);
18269 w = layout->row.templates[layout->row.index];
18272 item_spacing = (float)layout->row.index * spacing.x;
18303 if (layout->row.index >= layout->row.columns)
18308 layout->row.index++;
18314 int index;
18327 index = layout->row.index;
18328 if (layout->row.index >= layout->row.columns) {
18330 layout->row.index = 0;
18333 if (!layout->row.index) {
18337 layout->row.index = index;
19207 if (layout->row.index == 1) {
19212 if (layout->row.index == layout->row.columns)
19223 int i, index, rows;
19234 index = (layout->row.index + cols) % layout->row.columns;
19235 rows = (layout->row.index + cols) / layout->row.columns;
19239 cols = index;
19246 } layout->row.index = index;
24148 if (g->slots[slot].index == 0) {
24166 g->slots[slot].index += 1;
24172 cur.x = g->x + (float)(step * (float)g->slots[slot].index);
24194 g->slots[slot].index += 1;
24211 if (chart->slots[slot].index >= chart->slots[slot].count)
24228 item.x = chart->x + ((float)chart->slots[slot].index * item.w);
24229 item.x = item.x + ((float)chart->slots[slot].index);
24240 chart->slots[slot].index += 1;
24317 float(*value_getter)(void* user, int index), int count, int offset)