• Home
  • Raw
  • Download

Lines Matching refs:clip_rect

1194     ImVec4 clip_rect = _ClipRectStack.back();  in AddText()  local
1197 clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); in AddText()
1198 clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); in AddText()
1199 clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); in AddText()
1200 clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); in AddText()
1202 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText()
2749 …ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* tex… in RenderText() argument
2759 if (y > clip_rect.w) in RenderText()
2769 if (y + line_height < clip_rect.y && !word_wrap_enabled) in RenderText()
2770 while (y + line_height < clip_rect.y && s < text_end) in RenderText()
2783 while (y_end < clip_rect.w && s_end < text_end) in RenderText()
2851 if (y > clip_rect.w) in RenderText()
2872 if (x1 <= clip_rect.z && x2 >= clip_rect.x) in RenderText()
2883 if (x1 < clip_rect.x) in RenderText()
2885 u1 = u1 + (1.0f - (x2 - clip_rect.x) / (x2 - x1)) * (u2 - u1); in RenderText()
2886 x1 = clip_rect.x; in RenderText()
2888 if (y1 < clip_rect.y) in RenderText()
2890 v1 = v1 + (1.0f - (y2 - clip_rect.y) / (y2 - y1)) * (v2 - v1); in RenderText()
2891 y1 = clip_rect.y; in RenderText()
2893 if (x2 > clip_rect.z) in RenderText()
2895 u2 = u1 + ((clip_rect.z - x1) / (x2 - x1)) * (u2 - u1); in RenderText()
2896 x2 = clip_rect.z; in RenderText()
2898 if (y2 > clip_rect.w) in RenderText()
2900 v2 = v1 + ((clip_rect.w - y1) / (y2 - y1)) * (v2 - v1); in RenderText()
2901 y2 = clip_rect.w; in RenderText()