Lines Matching defs:range
3218 /// to make use of the complete number range of a type just use the provided
3891 cfg.range = nk_font_korean_glyph_ranges();
3976 const nk_rune *range;
3977 /* list of unicode ranges (2 values per range, zero terminated) */
5273 float min, max, range;
6045 approximations for value range 0...2*PI. The reason why I decided to
6046 approximate exactly that range is that nuklear only needs sine and
6047 cosine to generate circles which only requires that exact range.
10976 int numGlyphs;/* number of glyphs, needed for range checking */
11275 if (glyph_index >= info->numGlyphs) return -1; /* glyph index out of range */
11750 /* from here on, we don't have to range check x values */
12615 nk_range_count(const nk_rune *range)
12617 const nk_rune *iter = range;
12618 NK_ASSERT(range);
12619 if (!range) return 0;
12621 return (iter == range) ? 0 : (int)((iter - range)/2);
12624 nk_range_glyph_count(const nk_rune *range, int count)
12630 nk_rune f = range[(i*2)+0];
12631 nk_rune t = range[(i*2)+1];
12698 do {if (!i->range) iter->range = nk_font_default_glyph_ranges();
12699 range_count = nk_range_count(i->range);
12701 *glyph_count += nk_range_glyph_count(i->range, range_count);
12749 do {range_count = nk_range_count(it->range);
12751 total_glyph_count += nk_range_glyph_count(it->range, range_count);
12799 for (in_range = cfg->range; in_range[0] && in_range[1]; in_range += 2) {
12809 in_range = &cfg->range[i * 2];
12894 dst_font->ranges = cfg->range;
12906 struct nk_tt_pack_range *range = &tmp->ranges[i];
12907 for (char_idx = 0; char_idx < range->num_chars; char_idx++)
12915 const struct nk_tt_packedchar *pc = &range->chardata_for_range[char_idx];
12917 codepoint = (nk_rune)(range->first_unicode_codepoint_in_range + char_idx);
12918 nk_tt_GetPackedQuad(range->chardata_for_range, (int)width,
13082 do {count = nk_range_count(iter->range);
13084 nk_rune f = iter->range[(i*2)+0];
13085 nk_rune t = iter->range[(i*2)+1];
13433 cfg.range = nk_font_default_glyph_ranges();
24077 slot->range = slot->max - slot->min;}
24118 slot->range = slot->max - slot->min;}
24140 float range;
24145 range = g->slots[slot].max - g->slots[slot].min;
24146 ratio = (value - g->slots[slot].min) / range;
24220 item.h = chart->h * NK_ABS((value/chart->slots[slot].range));
24222 ratio = (value + NK_ABS(chart->slots[slot].min)) / NK_ABS(chart->slots[slot].range);
24225 ratio = (value - chart->slots[slot].max) / chart->slots[slot].range;
25645 /// instead made it user provided. The range of types to convert