Transform the plot coordinates to screen coordinates.
(&self, position: PlotPoint)
| 2003 | |
| 2004 | /// Transform the plot coordinates to screen coordinates. |
| 2005 | pub fn screen_from_plot(&self, position: PlotPoint) -> Pos2 { |
| 2006 | self.last_plot_transform.position_from_point(&position) |
| 2007 | } |
| 2008 | |
| 2009 | /// Transform the screen coordinates to plot coordinates. |
| 2010 | pub fn plot_from_screen(&self, position: Pos2) -> PlotPoint { |
no test coverage detected