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

Method point_inside

src/plot_state.rs:452–454  ·  view source on GitHub ↗
(&self, x: f32, y: f32)

Source from the content-addressed store, hash-verified

450 // Convert world position to screen position
451 if let Some(screen_pos) =
452 world_to_screen_position_x(tick_plot, &self.camera, &self.bounds)
453 {
454 self.x_ticks.push(PositionedTick { screen_pos, tick });
455 }
456 }
457

Callers 3

cursor_insideMethod · 0.80
handle_mouse_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected