You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rotation changes the corner coordinates of the rectangle, but the rectangle is still parallel with axes of the outermost context. Maybe we can have the rectangle() methods create PolygonPrimitive's instead?
The text was updated successfully, but these errors were encountered:
The top left corner point of the black rectangle is correctly rotated around the grey circle, but the other 3 points are not rotated. This is because rotation is performed at the Compose level, but the other 3 points are explicitly calculated at backend level. As the OP states, the easiest way to fix this is to have the rectangle() methods create PolygonPrimitives rather than RectanglePrimitives.
Rotation changes the corner coordinates of the rectangle, but the rectangle is still parallel with axes of the outermost context. Maybe we can have the
rectangle()
methods createPolygonPrimitive
's instead?The text was updated successfully, but these errors were encountered: