Display rotated elements
Depends on https://gitlab.com/arkindex/backend/-/issues/788
This merge request only concern displaying rotated elements, and not editing those parameters.
When an element has a rotation, the InteractiveImage
should take that into account when displaying it, applying an SVG transformation to the polygon and image.
Three main cases need to be supported at this stage:
- A page is rotated, no children elements
- A page is rotated, with some children elements also rotated using the same parameters
- A page is NOT rotated, but a single text line is rotated
Edited by Erwan Rouchet