MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / FillSpan

Class FillSpan

src/plot_state.rs:917–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915 }
916 }
917
918 fn zoom_at_cursor(&mut self, scroll_y: f32, viewport: DVec2, zoom_x: bool, zoom_y: bool) {
919 let zoom_factor = if scroll_y > 0.0 { 0.95 } else { 1.05 };
920
921 let cursor_render_before = self.camera.screen_to_render(
922 DVec2::new(self.cursor_position.x as f64, self.cursor_position.y as f64),
923 viewport,
924 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected