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

Function lf_text_dimension

leif.c:2814–2816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2812 state.current_line_height = 0;
2813}
2814vec2s lf_text_dimension(const char* str) {
2815 return lf_text_dimension_ex(str, -1);
2816}
2817
2818vec2s lf_text_dimension_ex(const char* str, float wrap_point) {
2819 LfFont font = get_current_font();

Callers 2

checkbox_element_locFunction · 0.85
lf_button_dimensionFunction · 0.85

Calls 1

lf_text_dimension_exFunction · 0.85

Tested by

no test coverage detected