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

Method drag_in_progress_for

src/plot_state.rs:488–492  ·  view source on GitHub ↗
(&self, button: mouse::Button)

Source from the content-addressed store, hash-verified

486 }
487 }
488
489 pub(crate) fn point_inside(&self, x: f32, y: f32) -> bool {
490 x >= 0.0 && y >= 0.0 && x <= self.bounds.width && y <= self.bounds.height
491 }
492
493 pub(crate) fn cursor_inside(&self) -> bool {
494 self.point_inside(self.cursor_position.x, self.cursor_position.y)
495 }

Callers 1

handle_mouse_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected