(camera: &mut Camera, bounds: &Rectangle, aspect: f64)
| 1823 | #[cfg(feature = "canvas")] |
| 1824 | impl iced::widget::canvas::Program<PlotUiMessage> for PlotWidget { |
| 1825 | type State = PlotState; |
| 1826 | |
| 1827 | fn update( |
| 1828 | &self, |
| 1829 | state: &mut Self::State, |
| 1830 | event: &iced::Event, |
| 1831 | bounds: Rectangle, |
| 1832 | cursor: mouse::Cursor, |
| 1833 | ) -> Option<iced::widget::canvas::Action<PlotUiMessage>> { |
| 1834 | update_plot_program::<true>(self, state, event, bounds, cursor) |
| 1835 | } |
| 1836 | |
| 1837 | fn draw( |
no outgoing calls
no test coverage detected