Adding support for transformations (rotation, translation, scale) #707
-
Hello there! I am building a pan/zoom area for Floem which uses Taffy for layouting. While translation is not a big problem, for zooming (scaling) the children within this area, it would be great to have support for this as part of Taffy's style. I am motivated to implement this feature if feasible. As I am new to Taffy though, I would highly appreciate any guidance on whether this is desirable and if so, how it should be done. Ideally, I would like to be able to just apply an affine transformation matrix on any level of the layout tree (to support rotation, translation, and scale), but I don't know if that would be too much to ask for. I would be happy with a scale factor for now. Thanks in advance for any input on this topic! All the best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think this is still a desirable feature for Taffy, but as we have transformation and scale in Floem now, it is no longer relevant for me, so I'm closing this. |
Beta Was this translation helpful? Give feedback.
I think this is still a desirable feature for Taffy, but as we have transformation and scale in Floem now, it is no longer relevant for me, so I'm closing this.