Function paint_own_chat_bubble
pub fn paint_own_chat_bubble(
scene: &mut Scene,
transform: Affine,
text_renderer: &mut TextRenderer,
theme: &Theme,
_: (Point, &str, AlphaColor<Srgb>),
_: (&str, f64, Rect),
) -> (Rect, Rect)Expand description
This person’s own cursor-chat bubble while they type, beside their
pointer at at: the same bubble everyone else sees, in their colour and
under their name, sized for message and at least min_text_w wide,
kept inside bounds (left of or above the pointer near an edge).
Paints its shape and name and returns the bubble and the one-line rect
the caller puts its text field in.