Skip to main content

render_preview

Function render_preview 

Source
pub fn render_preview(
    frame: &mut Frame<'_>,
    area: Rect,
    palette: &Palette,
    limits: Option<(f64, f64)>,
    scale: ScaleMode,
)
Expand description

Draw a compact horizontal palette swatch with the view’s range labels.