Convert a raw point into plot-space coordinates.
(
&self,
point: [f64; 2],
x_axis_scale: AxisScale,
y_axis_scale: AxisScale,
)
| 255 | |
| 256 | /// Convert a raw point into plot-space coordinates. |
| 257 | pub fn transform_point( |
| 258 | &self, |
| 259 | point: [f64; 2], |
| 260 | x_axis_scale: AxisScale, |
| 261 | y_axis_scale: AxisScale, |
| 262 | ) -> Option<[f64; 2]> { |
| 263 | data_point_to_plot_with_transform(point, x_axis_scale, y_axis_scale, self, None) |
| 264 | } |
| 265 | |
| 266 | pub(crate) fn uses_axes_coordinates(&self) -> bool { |
| 267 | self.x |
nothing calls this directly
no test coverage detected