Skip to main content

set_capture_device_scale

Function set_capture_device_scale 

pub fn set_capture_device_scale(scale: u32)
Expand description

Draw following capture frames at scale device pixels per logical pixel, as a HiDPI display does: laid out at its logical size and drawn with the live host’s window scale transform, so text is rasterised from the outlines rather than enlarged afterwards. Clamped to 1..=MAX_CAPTURE_DEVICE_SCALE.