Simon Wanner
a2331e8dd3
LibWeb: Implement CSS transforms on stacking contexts
...
Since there is currently no easy way to handle rotations and skews
with LibGfx this only implements translation and scaling by first
constructing a general 4x4 transformation matrix like outlined in
the css-transforms-1 specification. This is then downgraded to a
Gfx::AffineTransform in order to transform the destination rectangle
used with draw_scaled_bitmap()
While rotation would be nice this already looks pretty good :^)
2022-03-18 18:51:42 +01:00
..
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-18 18:51:42 +01:00
2022-03-18 18:51:42 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 00:38:31 +01:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 00:38:31 +01:00
2022-03-17 17:23:49 +00:00
2022-03-13 00:04:51 +01:00
2022-03-16 00:38:31 +01:00
2022-03-18 15:18:48 +01:00
2022-03-18 15:18:48 +01:00
2022-03-13 00:04:51 +01:00
2022-03-18 15:18:48 +01:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-18 15:18:48 +01:00
2022-03-18 15:18:48 +01:00
2022-03-08 00:19:49 +01:00
2022-03-08 00:19:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 00:38:31 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-09 18:47:32 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 23:13:05 +01:00
2022-03-16 23:13:05 +01:00
2022-03-18 15:18:48 +01:00
2022-03-18 15:18:48 +01:00
2022-03-17 17:23:49 +00:00
2022-02-25 19:35:34 +01:00
2022-03-17 17:23:49 +00:00
2022-03-13 18:09:43 +01:00
2022-03-18 18:51:42 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 00:38:31 +01:00
2022-03-17 17:23:49 +00:00
2022-03-13 18:09:43 +01:00
2022-03-13 00:04:51 +01:00
2022-03-13 00:04:51 +01:00
2022-03-17 17:23:49 +00:00
2022-02-21 18:35:12 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-11 00:21:49 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-21 18:35:12 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-25 19:35:34 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 23:13:05 +01:00
2022-03-17 17:23:49 +00:00