Lines Matching defs:line

1157     enum nk_anti_aliasing line_AA; /* line anti-aliasing flag can be turned off if you are tight on memory */
2166 /// line wrapping and weights for dynamic widgets. It is an immediate mode API but
11729 /* compute endpoints of line segment clipped to this scanline (if the */
11730 /* line segment starts on this scanline. x0 is the intersection of the */
11731 /* line with y_top, but that may be off the line segment. */
12115 /* versus directly drawn line */
18460 const char *hash, int len, int line)
18470 tree_hash = nk_murmur_hash(title, (int)title_len, (nk_hash)line);
18471 } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line);
18513 const char *hash, int len, int line)
18515 return nk_tree_base(ctx, type, 0, title, initial_state, hash, len, line);
18643 int *selected, const char *hash, int len, int line)
18653 tree_hash = nk_murmur_hash(title, (int)title_len, (nk_hash)line);
18654 } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line);
19312 struct nk_rect line;
19328 line.x = b.x + t->padding.x;
19329 line.y = b.y + t->padding.y;
19330 line.w = b.w - 2 * t->padding.x;
19331 line.h = 2 * t->padding.y + f->height;
19333 fitting = nk_text_clamp(f, string, len, line.w, &glyphs, &width, seperator,NK_LEN(seperator));
19335 if (!fitting || line.y + line.h >= (b.y + b.h)) break;
19336 nk_widget_text(o, line, &string[done], fitting, &text, NK_TEXT_LEFT, f);
19338 line.y += f->height + 2 * t->padding.y;
19339 fitting = nk_text_clamp(f, &string[done], len - done, line.w, &glyphs, &width, seperator,NK_LEN(seperator));
21701 float height; /* height of line */
21785 /* check if it's before the beginning of the line */
21789 /* check if it's before the end of the line */
21803 /* shouldn't happen, but if it does, fall through to end-of-line case */
21847 /* if it's at the end, then find the last line -- simpler than trying to
22062 /* can't add newline in single-line mode */
22216 /* on windows, up&down in single-line behave like left&right */
22807 const char *line = text;
22821 /* new line separator so draw previous line */
22832 nk_widget_text(out, label, line, (int)((text + text_len) - line),
22838 line = text + text_len;
22855 /* draw last line */
22866 nk_widget_text(out, label, line, (int)((text + text_len) - line),
23072 /* calculate total line count + total space + cursor/selection position */
23091 /* set cursor 2D position and line */
23108 /* set start selection 2D position and line */
23126 /* set end selection 2D position and line */
23310 /* draw cursor at end of line */
24170 /* draw a line between the last data point and the new one */