pub fn backing_scale() -> f64Expand description
Get the display scale factor used to size the next editor.
Screenshot rendering pins this to a deterministic value via
truce_core::screenshot::override_scale (default 2.0) so a
reference PNG baked on one host renders at the same physical
dimensions on any other. Outside screenshot rendering the
override is unset and we return the platform’s main-screen DPI
query (Retina = 2.0, normal = 1.0).