Repository navigation
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, the
canvas::Framesupport 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
fromagainst Transform2D?All reactions