1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

LibWeb: Make CSS Transformation struct a proper class

Move it out of ComputedValues.h into its own files, and take the
transformation-to-matrix code from StackingContext.
This commit is contained in:
Sam Atkins 2023-10-13 17:25:23 +01:00 committed by Andreas Kling
parent 3c49d0dad3
commit 642ad80960
8 changed files with 193 additions and 152 deletions

View file

@ -51,7 +51,6 @@ private:
static void paint_child(PaintContext&, StackingContext const&);
void paint_internal(PaintContext&) const;
Gfx::FloatMatrix4x4 get_transformation_matrix(CSS::Transformation const& transformation) const;
Gfx::FloatMatrix4x4 combine_transformations(Vector<CSS::Transformation> const& transformations) const;
Gfx::FloatPoint transform_origin() const { return m_transform_origin; }
Gfx::FloatPoint compute_transform_origin() const;