Lines Matching defs:text_size
7383 struct nk_vec2 text_size = nk_vec2(0,0);
7394 if (!glyph_len) return text_size;
7400 text_size.x = NK_MAX(text_size.x, line_width);
7401 text_size.y += line_height;
7427 if (text_size.x < line_width)
7428 text_size.x = line_width;
7430 *out_offset = nk_vec2(line_width, text_size.y + line_height);
7431 if (line_width > 0 || text_size.y == 0.0f)
7432 text_size.y += line_height;
7435 return text_size;
23057 struct nk_vec2 text_size = nk_vec2(0,0);
23144 text_size.x = NK_MAX(text_size.x, line_width);
23164 text_size.y = (float)total_lines * row_height;
23169 cursor_pos.y = text_size.y - row_height;
23212 scroll_target = text_size.y;