mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +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:
parent
3c49d0dad3
commit
642ad80960
Notes:
sideshowbarker
2024-07-17 07:08:37 +09:00
Author: https://github.com/AtkinsSJ
Commit: 642ad80960
Pull-request: https://github.com/SerenityOS/serenity/pull/21425
Issue: https://github.com/SerenityOS/serenity/issues/21419
Reviewed-by: https://github.com/kalenikaliaksandr ✅
8 changed files with 193 additions and 152 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue