Transform the screen coordinates to plot coordinates.
(&self, position: Pos2)
| 2008 | |
| 2009 | /// Transform the screen coordinates to plot coordinates. |
| 2010 | pub fn plot_from_screen(&self, position: Pos2) -> PlotPoint { |
| 2011 | self.last_plot_transform.value_from_position(position) |
| 2012 | } |
| 2013 | |
| 2014 | /// Add an arbitrary item. |
| 2015 | pub fn add(&mut self, item: impl PlotItem + 'a) { |
no test coverage detected