egui_winit

Function pixels_per_point

source
pub fn pixels_per_point(egui_ctx: &Context, window: &Window) -> f32
Expand description

Calculate the pixels_per_point for a given window, given the current egui zoom factor