1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:57:35 +00:00

LibWeb: Add compute_combined_css_transform() for PaintableBox

This prepares for upcoming changes where the code that finds combined
CSS transform will be reused in `clear_clip_overflow_rect()`.
This commit is contained in:
Aliaksandr Kalenik 2024-02-10 20:34:03 +01:00 committed by Andreas Kling
parent 080d9ec246
commit 1ae416fa94
2 changed files with 16 additions and 9 deletions

View file

@ -200,6 +200,7 @@ public:
CSSPixelPoint const& transform_origin() const { return m_transform_origin; }
CSSPixelRect compute_absolute_padding_rect_with_css_transform_applied() const;
Gfx::AffineTransform compute_combined_css_transform() const;
Optional<CSSPixelRect> get_clip_rect() const;