Skip to main content

paint_entry

Function paint_entry 

pub fn paint_entry(
    scene: &mut Scene,
    transform: Affine,
    text: &mut TextRenderer,
    theme: &Theme,
    rect: Rect,
    colour: AlphaColor<Srgb>,
    label: &str,
)
Expand description

Paint one entry into rect: the series swatch, then its label in secondary ink, elided to the rect.