Lines Matching defs:glyphs

3932     NK_COORD_UV, /* texture coordinates inside font glyphs are clamped between 0-1 */
3933 NK_COORD_PIXEL /* texture coordinates inside font glyphs are in absolute pixel */
3941 /* font glyphs ascent and descent */
3945 /* number of glyphs of this font inside the glyph baking array output */
3975 /* extra pixel spacing between glyphs */
3998 struct nk_font_glyph *glyphs;
4022 struct nk_font_glyph *glyphs;
4167 int len; /* in codepoints/runes/glyphs */
5823 NK_LIB int nk_text_clamp(const struct nk_user_font *font, const char *text, int text_len, float space, int *glyphs, float *text_width, nk_rune *sep_list, int sep_count);
5824 NK_LIB struct nk_vec2 nk_text_calculate_text_bounds(const struct nk_user_font *font, const char *begin, int byte_len, float row_height, const char **remaining, struct nk_vec2 *out_offset, int *glyphs, int op);
7331 int text_len, float space, int *glyphs, float *text_width,
7368 *glyphs = g;
7372 *glyphs = sep_g;
7380 struct nk_vec2 *out_offset, int *glyphs, int op)
7397 *glyphs = 0;
7403 *glyphs+=1;
7414 *glyphs+=1;
7419 *glyphs = *glyphs + 1;
7941 int glyphs = 0;
7954 glyphs++;
7958 return glyphs;
9188 int glyphs = 0;
9190 length = nk_text_clamp(font, string, length, r.w, &glyphs, &txt_width, 0,0);
10976 int numGlyphs;/* number of glyphs, needed for range checking */
12787 /* first font pass: pack all glyphs */
12797 /* count glyphs + ranges in current font */
12842 struct nk_font_glyph *glyphs, int glyphs_count,
12858 !font_count || !glyphs || !glyphs_count)
12861 /* second font pass: render glyphs */
12876 /* third pass: setup font and glyphs */
12900 // bake, and cause a segfault when accessing glyphs[].
12922 glyph = &glyphs[dst_font->glyph_offset + dst_font->glyph_count + (unsigned int)glyph_count];
13017 NK_ASSERT(font->glyphs);
13052 NK_ASSERT(font->glyphs);
13076 NK_ASSERT(font->glyphs);
13078 if (!font || !font->glyphs) return 0;
13088 return &font->glyphs[((nk_rune)total_glyphs + (unicode - f))];
13096 nk_rune fallback_codepoint, struct nk_font_glyph *glyphs,
13101 NK_ASSERT(glyphs);
13103 if (!font || !glyphs || !baked_font)
13110 font->glyphs = &glyphs[baked_font->glyph_offset];
13485 if (atlas->glyphs) {
13486 atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs);
13487 atlas->glyphs = 0;
13750 atlas->glyphs = (struct nk_font_glyph*)atlas->permanent.alloc(
13752 NK_ASSERT(atlas->glyphs);
13753 if (!atlas->glyphs)
13756 /* pack all glyphs into a tight fit space */
13769 /* bake glyphs and custom white pixel into image */
13771 atlas->glyphs, atlas->glyph_count, atlas->config, atlas->font_num);
13792 nk_font_init(font, config->size, config->fallback_glyph, atlas->glyphs,
13825 if (atlas->glyphs) {
13826 atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs);
13827 atlas->glyphs = 0;
13927 if (atlas->glyphs)
13928 atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs);
19309 int glyphs = 0;
19333 fitting = nk_text_clamp(f, string, len, line.w, &glyphs, &width, seperator,NK_LEN(seperator));
19339 fitting = nk_text_clamp(f, &string[done], len - done, line.w, &glyphs, &width, seperator,NK_LEN(seperator));
21736 int glyphs = 0;
21743 text, (int)(end - text), row_height, &remaining, 0, &glyphs, NK_STOP_ON_NEW_LINE);
21750 r->num_chars = glyphs;
22025 int glyphs;
22034 glyphs = nk_utf_len(ctext, len);
22036 nk_textedit_makeundo_insert(state, state->cursor, glyphs);
23081 int glyphs = 0;
23092 if (!cursor_ptr && glyphs == edit->cursor)
23110 glyphs == selection_begin)
23128 glyphs == selection_end)
23148 glyphs++;
23155 glyphs++;