Lines Matching refs:word_wrap_eol
2653 const char* word_wrap_eol = NULL; in CalcTextSizeA() local
2661 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() local
2809 if (!word_wrap_eol) in RenderText()
2811 word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - pos.x)); in RenderText()
2812 …if (word_wrap_eol == s) // Wrap_width is too small to fit anything. Force displaying 1 character t… in RenderText()
2813 …word_wrap_eol++; // +1 may not be a character start point in UTF-8 but it's ok because we use s… in RenderText()
2816 if (s >= word_wrap_eol) in RenderText()
2820 word_wrap_eol = NULL; in RenderText()