MCPcopy Create free account
hub / github.com/cococry/leif / lf_text_render

Function lf_text_render

leif.c:3072–3078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3070}
3071
3072LfTextProps lf_text_render(vec2s pos, const char* str, LfFont font, LfColor color,
3073 int32_t wrap_point, vec2s stop_point, bool no_render, bool render_solid, int32_t start_index, int32_t end_index) {
3074 wchar_t* wstr = str_to_wstr(str);
3075 LfTextProps textprops = lf_text_render_wchar(pos, (const wchar_t*)wstr, font, color, wrap_point, stop_point, no_render, render_solid, start_index, end_index);
3076 free(wstr);
3077 return textprops;
3078}
3079
3080
3081LfTextProps lf_text_render_wchar(vec2s pos, const wchar_t* str, LfFont font, LfColor color,

Callers 4

text_render_simpleFunction · 0.85
input_fieldFunction · 0.85
lf_text_dimension_exFunction · 0.85
lf_textFunction · 0.85

Calls 2

str_to_wstrFunction · 0.85
lf_text_render_wcharFunction · 0.85

Tested by

no test coverage detected