You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Draw multiline text with the given font_size, line_distance_factor and color.
392
396
/// If no line distance but a custom font is given, the fonts line gap will be used as line distance factor if it exists.
393
397
pubfndraw_multiline_text(
394
-
text:&str,
398
+
text:implAsRef<str>,
395
399
x:f32,
396
400
y:f32,
397
401
font_size:f32,
@@ -415,12 +419,14 @@ pub fn draw_multiline_text(
415
419
/// Draw multiline text with the given line distance and custom params such as font, font size and font scale.
416
420
/// If no line distance but a custom font is given, the fonts newline size will be used as line distance factor if it exists, else default to font size.
0 commit comments