Closed flyandi closed 2 months ago
any use case for using this function?
I use it to create gauges with a canvas that clips the rotates rectangle.
The implementation is simple and and the drawing speed should be similar between custom function and inside GFX, so it is not need include this to a GFX library.
Adding a new primitive to draw a rotated rect. I use this function for a few elements now.
Takes in a variable pivot point that goes from the center of the rectangle and can be adjusted.