Weird rendering issues when resizing with custom clip path #10359
Unanswered
DaanDeReus
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The normal behaviour is weird because you want to treat scaleX and scaleY as a width and height change. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i made a custom renderer for border radius. (like figma) the normal behavior is weird in my opinion. That it becomes some stretched corner or whatever.
So i made a clippath Path() that has custom parameters. Now it has to re-render the clippath while and after resizing to ensure it stays not stretched.
It might just be me, i have a niece case.
I can't disclose too much of the code..
This is the most relevant part:
generateClipPath returns a Path().
I have a control that can edit the size of the border radius. But that is not relevant.
here is a video of the issue:
Video.zonder.titel.mp4
How the object is rendered:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions