Replies: 1 comment
-
Just want to update that I'm no longer experimenting with anything. Atm I am transforming points before drawing them onto frame. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the
canvas::Frame
support transformations through methods such astranslate
,rotate
, andscale
. These methods simply call the relevant matrix transformation on the underlying Transform2D. For example:I think it would be valuable to have the ability to work with matrices directly. The advantages of doing this being:
with_save()
method may become unnecessary)I'm experimenting with this on a fork but I'm not sure what the best implementation strategy is. Re-export lyon's Transform2D? create a Transform for iced implementing
from
against Transform2D?Beta Was this translation helpful? Give feedback.
All reactions