Lines Matching defs:line_height
150 const float line_height = GetTextLineHeight();
161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height);
173 pos.y += lines_skipped * line_height;
180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height));
193 line_rect.Min.y += line_height;
194 line_rect.Max.y += line_height;
195 pos.y += line_height;
208 pos.y += lines_skipped * line_height;
357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize);
358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding
364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f));
1068 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize);
1069 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height));
1078 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f));
2856 const float line_height = g.FontSize;
2857 const float scale = line_height / font->FontSize;
2869 text_size.y += line_height;
2886 *out_offset = ImVec2(line_width, text_size.y + line_height); // offset allow for the possibility of sitting after a trailing \n
2889 text_size.y += line_height;