Skip to content

Rotation property #709

Answered by ogoffart
guerinoni asked this question in General
Dec 2, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

We started to implement that but did not finish.
There is an internal "Rotate" item, bit it is not exposed in the public API.

The goal is to detect "rotation" property and transform it to that element, just like what we do for the opacity or the clip.

If you remove that line: https://github.com/sixtyfpsui/sixtyfps/blob/ffe561f8d801b39ac804d229508844399777aa3c/sixtyfps_compiler/builtins.60#L78
You'd be able to use the Rotate element in your code. (But there might be bugs)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@guerinoni
Comment options

Answer selected by guerinoni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants