Skip to main content

draw_hover_tooltip

Function draw_hover_tooltip 

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

Composes chip_size, chip_rect and draw_chip — the one call TooltipHost uses to render a tooltip.