Function egui_winit::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
pub fn pixels_per_point(egui_ctx: &Context, window: &Window) -> f32
Calculate the pixels_per_point
for a given window, given the current egui zoom factor