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

Clip regions #76

Open
vancluever opened this issue Feb 8, 2025 · 0 comments
Open

Clip regions #76

vancluever opened this issue Feb 8, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@vancluever
Copy link
Owner

One addition that I want now that we have gradients coming up (very soon!) are clip regions.

Basically this is modeled after the same concept in Cairo (or Skia), and allows drawing outside of a particular shape, or with a general paint function.

Currently, to get the same functionality in z2d, you'd need to do multiple drawing passes on the surface, possibly using multiple intermediary surfaces and mask surfaces (made easier now using the lower-level compositor, but still).

@vancluever vancluever added the enhancement New feature or request label Feb 8, 2025
@vancluever vancluever modified the milestones: v0.7.0, v0.8.0 Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant