MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / apply

Method apply

src/plot_widget.rs:1248–1255  ·  view source on GitHub ↗
(self, widget: &PlotWidget)

Source from the content-addressed store, hash-verified

1246 .and_then(|hline| hline.transform.as_ref())
1247 .is_some_and(|transform| transform.uses_axes_coordinates())
1248 }
1249
1250 fn has_visible_dynamic_geometry_transforms(&self) -> bool {
1251 self.series.iter().any(|(id, series)| {
1252 !self.hidden_shapes.contains(id) && series.transform.uses_axes_coordinates()
1253 }) || self.fills.iter().any(|(id, fill)| {
1254 !self.hidden_shapes.contains(id)
1255 && !self.hidden_shapes.contains(&fill.begin)
1256 && !self.hidden_shapes.contains(&fill.end)
1257 && (self.shape_uses_axes_transform(fill.begin)
1258 || self.shape_uses_axes_transform(fill.end))

Callers 1

update_plot_programFunction · 0.80

Calls 2

invalidate_static_canvasFunction · 0.85

Tested by

no test coverage detected