Lines Matching defs:find
10653 /* find minimum y position if it starts at x1 */
10758 /* find first node that's admissible */
10766 /* find the left position that matches this */
10795 /* find best position according to heuristic */
11137 /* find a cmap encoding table we understand *now* to avoid searching */
11145 /* find an encoding we understand: */
11208 /* now decrement to bias correctly to find smallest */
11411 /* if we start off with an off-curve point, then when we need to find a point on the curve */
11884 /* find center of pixel for this scanline */
12094 /* now, traverse the scanlines and find the intersections on each scanline, use xor winding rule */
16284 /* find or create window */
16373 /* try to find a panel with higher priority in the same position */
18825 /* find persistent group scrollbar value */
18867 /* find persistent group scrollbar value */
18902 /* find persistent group scrollbar value */
18953 /* find persistent list view scrollbar offset */
21765 /* search rows to find one that straddles 'y' */
21835 nk_textedit_find_charpos(struct nk_text_find *find, struct nk_text_edit *state,
21838 /* find the x/y location of a character, and remember info about the previous
21847 /* if it's at the end, then find the last line -- simpler than trying to
21851 find->first_char = 0;
21852 find->length = z;
21860 find->first_char = i;
21861 find->length = r.num_chars;
21863 find->x = r.x1;
21864 find->y = r.ymin;
21865 find->height = r.ymax - r.ymin;
21866 find->prev_first = prev_start;
21870 /* search rows to find the one that straddles character n */
21871 find->y = 0;
21878 find->y += r.baseline_y_delta;
21881 find->first_char = first = i;
21882 find->length = r.num_chars;
21883 find->height = r.ymax - r.ymin;
21884 find->prev_first = prev_start;
21886 /* now scan to find xpos */
21887 find->x = r.x0;
21889 find->x += nk_textedit_get_width(state, first, i, font);
22211 struct nk_text_find find;
22228 nk_textedit_find_charpos(&find, state, state->cursor, state->single_line,
22231 /* now find character position down a row */
22232 if (find.length)
22235 float goal_x = state->has_preferred_x ? state->preferred_x : find.x;
22236 int start = find.first_char + find.length;
22259 struct nk_text_find find;
22276 nk_textedit_find_charpos(&find, state, state->cursor, state->single_line,
22280 if (find.prev_first != find.first_char) {
22281 /* now find character position up a row */
22283 float goal_x = state->has_preferred_x ? state->preferred_x : find.x;
22285 state->cursor = find.prev_first;
22290 float dx = nk_textedit_get_width(state, find.prev_first, i, font);
22357 struct nk_text_find find;
22362 nk_textedit_find_charpos(&find, state,state->cursor, state->single_line,
22364 state->cursor = state->select_end = find.first_char;
22367 struct nk_text_find find;
22372 nk_textedit_find_charpos(&find, state, state->cursor, state->single_line,
22374 state->cursor = find.first_char;
22381 struct nk_text_find find;
22384 nk_textedit_find_charpos(&find, state, state->cursor, state->single_line,
22387 state->cursor = find.first_char + find.length;
22388 if (find.length > 0 && nk_str_rune_at(&state->string, state->cursor-1) == '\n')
22392 struct nk_text_find find;
22395 nk_textedit_find_charpos(&find, state, state->cursor, state->single_line,
22399 state->cursor = find.first_char + find.length;
22400 if (find.length > 0 && nk_str_rune_at(&state->string, state->cursor-1) == '\n')
25216 /* find selected item */