Function implot::pixels_to_plot_vec2 [−][src]
pub fn pixels_to_plot_vec2(
pixel_position: &ImVec2,
y_axis_choice: Option<YAxisChoice>
) -> ImPlotPoint
Expand description
Convert pixels, given as an ImVec2
, to a position in the current plot’s coordinate system.
Uses the specified Y axis, if any, otherwise whatever was previously chosen.