Searched refs:word_wrap_eol (Results 1 – 1 of 1) sorted by relevance
2653 const char* word_wrap_eol = NULL; in CalcTextSizeA() local2661 if (!word_wrap_eol) in CalcTextSizeA()2663 word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - line_width); in CalcTextSizeA()2664 …if (word_wrap_eol == s) // Wrap_width is too small to fit anything. Force displaying 1 character t… in CalcTextSizeA()2665 …word_wrap_eol++; // +1 may not be a character start point in UTF-8 but it's ok because we use s… in CalcTextSizeA()2668 if (s >= word_wrap_eol) in CalcTextSizeA()2674 word_wrap_eol = NULL; in CalcTextSizeA()2765 const char* word_wrap_eol = NULL; in RenderText() local2809 if (!word_wrap_eol) in RenderText()2811 word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - pos.x)); in RenderText()[all …]