CapSoftware / scap

High-performance, cross-platform screen capture library in Rust.
https://crates.io/crates/scap
Other
229 stars 44 forks source link

FullScreen option for source_rect #105

Open valenotary opened 3 months ago

valenotary commented 3 months ago

Currently to capture a full screen (on Mac), I either need to write the width and height literals from the system settings or retrieve them from Winit. If you are already using the native platform windowing APIs under the hood, I think you should be able to provide an API to fill out the source_rect parameters dynamically.

richiemcilroy commented 3 months ago

great idea!