(self, camera: &Camera, bounds: &Rectangle)
| 143 | px_x.max(px_y) as f32 |
| 144 | } |
| 145 | pub(crate) fn to_px(self, camera: &Camera, bounds: &Rectangle) -> f32 { |
| 146 | let (size, size_mode) = self.to_raw(); |
| 147 | Self::size_px(size, size_mode, camera, bounds) |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | #[derive(Debug, Clone, Copy, PartialEq)] |
no test coverage detected