Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FullScreen option for source_rect #105

Open
valenotary opened this issue Jul 29, 2024 · 1 comment
Open

FullScreen option for source_rect #105

valenotary opened this issue Jul 29, 2024 · 1 comment

Comments

@valenotary
Copy link
Contributor

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
Copy link
Collaborator

great idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants