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

LibAccelGfx+LibWeb: Add basic push/pop stacking context implementation

With basic PushStackingContext and PopStackingContext commands
implementation scrolling works again after changes being made in:
4e04f81626
This commit is contained in:
Aliaksandr Kalenik 2023-11-20 21:57:50 +01:00 committed by Andreas Kling
parent 2579b01be8
commit 1b0cc67a28
2 changed files with 5 additions and 3 deletions

View file

@ -39,6 +39,7 @@ public:
[[nodiscard]] Gfx::AffineTransform const& transform() const { return state().transform; }
void set_transform(Gfx::AffineTransform const& transform) { state().transform = transform; }
void translate(Gfx::FloatPoint translation) { state().transform.translate(translation); }
void fill_rect(Gfx::FloatRect, Gfx::Color);
void fill_rect(Gfx::IntRect, Gfx::Color);