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

Method available_cursor_local_position_inside

src/plot_state.rs:473–477  ·  view source on GitHub ↗
(&self, cursor: mouse::Cursor)

Source from the content-addressed store, hash-verified

471 Some(producer) => producer(min_y, max_y, self.bounds.height.into()),
472 None => Vec::new(),
473 };
474
475 self.y_ticks.clear();
476 for tick in y_tick_values {
477 let Some(tick_plot) = self.y_axis_scale.data_to_plot(tick.value) else {
478 continue;
479 };
480 // Convert world position to screen position

Callers 2

handle_mouse_eventMethod · 0.80

Calls 2

cursor_local_positionMethod · 0.80
point_insideMethod · 0.80

Tested by

no test coverage detected