Skip to main content

draw_chip

Function draw_chip 

pub fn draw_chip(
    scene: &mut Scene,
    transform: Affine,
    text_renderer: &mut TextRenderer,
    theme: &Theme,
    rect: Rect,
    label: &str,
)
Expand description

The floating material every floating surface is made of (blurred where the renderer runs the backdrop pass, the opaque panel ground otherwise), with the panel edge, at the control radius: a tooltip is a small floating Panel, not a card.