Support for Affine Transform and the Canvas widget. #5714
Unanswered
xb284524239
asked this question in
Ideas
Replies: 1 comment 5 replies
-
Support for generic rotation is something we're tracking with #1481 . The two main challenges with implementing this is support for it in the software renderer and supporting this for partial rendering. For scaling/translation, etc. we need to find a good API to describe this in a declarative way. The CSS transform syntax is quite nice IMO. For a canvas widget there ways of how the application could interface with a 2D canvas:
What do you have in mind when you're thinking of a |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Adding
Affine Transform
to one or a group of widgets can produce some pretty cool UI effects, such asscaling
,flipping
,translating
,rotating
, andshearing
. Does the Slint team have any plans for implementing such features?Additionally, there's currently no
Canvas
widget in the standard library. Will aCanvas
widget be added in the future? Should I use thePath
widget instead, or should I wait for a futureCanvas
widget?Beta Was this translation helpful? Give feedback.
All reactions