pub fn clip_text_to_width(ctx: &dyn DrawCtx, text: &str, max_w: f64) -> String
Trim text from the end with an ellipsis until it fits max_w, using the current font/size on ctx.
text
max_w
ctx