• Home
  • Raw
  • Download

Lines Matching refs:text_end

1176 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width…  in AddText()  argument
1181 if (text_end == NULL) in AddText()
1182 text_end = text_begin + strlen(text_begin); in AddText()
1183 if (text_begin == text_end) in AddText()
1202 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText()
1205 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) in AddText() argument
1207 AddText(NULL, 0.0f, pos, col, text_begin, text_end); in AddText()
2355 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) in AddText() argument
2357 while (text_end ? (text < text_end) : *text) in AddText()
2360 int c_len = ImTextCharFromUtf8(&c, text, text_end); in AddText()
2542 const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, floa… in CalcWordWrapPositionA() argument
2569 while (s < text_end) in CalcWordWrapPositionA()
2576 next_s = s + ImTextCharFromUtf8(&c, s, text_end); in CalcWordWrapPositionA()
2641 … float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** rem… in CalcTextSizeA() argument
2643 if (!text_end) in CalcTextSizeA()
2644 text_end = text_begin + strlen(text_begin); // FIXME-OPT: Need to avoid this. in CalcTextSizeA()
2656 while (s < text_end) in CalcTextSizeA()
2663 word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - line_width); in CalcTextSizeA()
2677 while (s < text_end) in CalcTextSizeA()
2695 s += ImTextCharFromUtf8(&c, s, text_end); in CalcTextSizeA()
2749 …ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width… in RenderText() argument
2751 if (!text_end) in RenderText()
2752text_end = text_begin + strlen(text_begin); // ImGui functions generally already provides a valid … in RenderText()
2770 while (y + line_height < clip_rect.y && s < text_end) in RenderText()
2772 s = (const char*)memchr(s, '\n', text_end - s); in RenderText()
2773 s = s ? s + 1 : text_end; in RenderText()
2779 if (text_end - s > 10000 && !word_wrap_enabled) in RenderText()
2783 while (y_end < clip_rect.w && s_end < text_end) in RenderText()
2785 s_end = (const char*)memchr(s_end, '\n', text_end - s_end); in RenderText()
2786 s_end = s_end ? s_end + 1 : text_end; in RenderText()
2789 text_end = s_end; in RenderText()
2791 if (s == text_end) in RenderText()
2795 const int vtx_count_max = (int)(text_end - s) * 4; in RenderText()
2796 const int idx_count_max = (int)(text_end - s) * 6; in RenderText()
2804 while (s < text_end) in RenderText()
2811 word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - pos.x)); in RenderText()
2823 while (s < text_end) in RenderText()
2840 s += ImTextCharFromUtf8(&c, s, text_end); in RenderText()