(&self)
| 1936 | .map(|series| series.pickable && point_id.point_index < series.positions.len()) |
| 1937 | .unwrap_or(false) |
| 1938 | } |
| 1939 | } |
| 1940 | |
| 1941 | fn apply_data_aspect(camera: &mut Camera, bounds: &Rectangle, aspect: f64) -> bool { |
| 1942 | let width = bounds.width.max(1.0) as f64; |
| 1943 | let height = bounds.height.max(1.0) as f64; |
| 1944 | let target_half_y = aspect * camera.half_extents.x * (height / width); |
| 1945 | if (camera.half_extents.y - target_half_y).abs() > f64::EPSILON { |
| 1946 | camera.half_extents.y = target_half_y; |
nothing calls this directly
no outgoing calls
no test coverage detected