[][src]Function ggez::graphics::hidpi_factor

pub fn hidpi_factor(context: &Context) -> f32

Returns the hidpi pixel scaling factor that ggez is currently using. If WindowSetup::allow_highdpi is true this is equal to os_hidpi_factor(), otherwise it is 1.0.