Lines Matching defs:ranges

524 /// hereby ranges from standard library to just specifying a fixed sized block of memory
3946 const nk_rune *ranges;
3947 /* font codepoint ranges as pairs of (from/to) and 0 as last element */
3977 /* list of unicode ranges (2 values per range, zero terminated) */
4029 /* some language glyph codepoint ranges */
11190 } else if (format == 4) { /* standard mapping for windows fonts: binary search collection of ranges */
12444 struct nk_tt_fontinfo *info, struct nk_tt_pack_range *ranges,
12447 /* rects array must be big enough to accommodate all characters in the given ranges */
12452 float fh = ranges[i].font_size;
12455 ranges[i].h_oversample = (unsigned char) spc->h_oversample;
12456 ranges[i].v_oversample = (unsigned char) spc->v_oversample;
12457 for (j=0; j < ranges[i].num_chars; ++j) {
12459 int codepoint = ranges[i].first_unicode_codepoint_in_range ?
12460 ranges[i].first_unicode_codepoint_in_range + j :
12461 ranges[i].array_of_unicode_codepoints[j];
12475 struct nk_tt_fontinfo *info, struct nk_tt_pack_range *ranges,
12482 /* rects array must be big enough to accommodate all characters in the given ranges */
12487 float fh = ranges[i].font_size;
12492 spc->h_oversample = ranges[i].h_oversample;
12493 spc->v_oversample = ranges[i].v_oversample;
12501 for (j=0; j < ranges[i].num_chars; ++j)
12506 struct nk_tt_packedchar *bc = &ranges[i].chardata_for_range[j];
12508 int codepoint = ranges[i].first_unicode_codepoint_in_range ?
12509 ranges[i].first_unicode_codepoint_in_range + j :
12510 ranges[i].array_of_unicode_codepoints[j];
12595 struct nk_tt_pack_range *ranges;
12605 struct nk_tt_pack_range *ranges;
12641 NK_STORAGE const nk_rune ranges[] = {0x0020, 0x00FF, 0};
12642 return ranges;
12647 NK_STORAGE const nk_rune ranges[] = {
12655 return ranges;
12660 NK_STORAGE const nk_rune ranges[] = {
12667 return ranges;
12672 NK_STORAGE const nk_rune ranges[] = {
12678 return ranges;
12722 baker->ranges = (struct nk_tt_pack_range*)NK_ALIGN_PTR((baker->rects + glyph_count), nk_range_align);
12797 /* count glyphs + ranges in current font */
12804 /* setup ranges */
12805 tmp->ranges = baker->ranges + range_n;
12810 tmp->ranges[i].font_size = cfg->size;
12811 tmp->ranges[i].first_unicode_codepoint_in_range = (int)in_range[0];
12812 tmp->ranges[i].num_chars = (int)(in_range[1]- in_range[0]) + 1;
12813 tmp->ranges[i].chardata_for_range = baker->packed_chars + char_n;
12814 char_n += tmp->ranges[i].num_chars;
12822 tmp->ranges, (int)tmp->range_count, tmp->rects);
12871 nk_tt_PackFontRangesRenderIntoRects(&baker->spc, &tmp->info, tmp->ranges,
12894 dst_font->ranges = cfg->range;
12906 struct nk_tt_pack_range *range = &tmp->ranges[i];
13077 NK_ASSERT(font->info.ranges);
25686 /// of glyphes for font with multiple ranges.