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

Add support for InputRRect as Group's clip #2305

Closed
terrysahaidak opened this issue Mar 21, 2024 · 1 comment
Closed

Add support for InputRRect as Group's clip #2305

terrysahaidak opened this issue Mar 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@terrysahaidak
Copy link
Contributor

terrysahaidak commented Mar 21, 2024

Description

Thanks for adding support for nonuniform rounded rects. In my use case, we have to reuse the same rect for both rect and clip. Currently, i have to maintain both path and rect to pass the same thing to either rect or clip (which accepts rect).
Would be amazing if clip would also accept InputRRect so we don't need to create a path for it.

I didn't dive deep in the code base so the question: can InputRRect be used as clip for groups at all?

@terrysahaidak terrysahaidak added the enhancement New feature or request label Mar 21, 2024
@wcandillon
Copy link
Contributor

clip does accept a rect, rounded rect, or path.
If this is not working on your side, let me know and we will reopen this.

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

2 participants