Function set_capture_device_scale
pub fn set_capture_device_scale(scale: u32)Expand description
Draw every following capture frame at scale device pixels per
logical pixel, as a HiDPI display draws it: the frame is laid out at its
logical size and drawn with the window scale transform the live host
uses, so text is rasterised from the glyph outlines at that size rather
than enlarged afterwards (crate::headless::FrameHarness). Clamped to
1..=MAX_CAPTURE_DEVICE_SCALE.