MCPcopy Create free account
hub / github.com/emilk/egui_plot / shapes

Method shapes

egui_plot/src/items/box_plot.rs:142–146  ·  view source on GitHub ↗
(&self, _ui: &Ui, transform: &PlotTransform, shapes: &mut Vec<Shape>)

Source from the content-addressed store, hash-verified

140
141impl PlotItem for BoxPlot {
142 fn shapes(&self, _ui: &Ui, transform: &PlotTransform, shapes: &mut Vec<Shape>) {
143 for b in &self.boxes {
144 b.add_shapes(transform, self.base.highlight, shapes);
145 }
146 }
147
148 fn initialize(&mut self, _x_range: RangeInclusive<f64>) {
149 // nothing to do

Callers

nothing calls this directly

Calls 1

add_shapesMethod · 0.45

Tested by

no test coverage detected