mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
LibWeb: Paint backdrop-filter
effects!
This implements all the filters other than `saturate()`, `hue-rotate()`, and `drop-shadow()`. There are still a lot of FIXMEs to handle in the actual implementation though, particularly around supporting transforms, but this handles the most common use cases :^)
This commit is contained in:
parent
60356c8dde
commit
011439d3e3
5 changed files with 159 additions and 0 deletions
|
@ -118,6 +118,7 @@ protected:
|
|||
explicit PaintableBox(Layout::Box const&);
|
||||
|
||||
virtual void paint_border(PaintContext&) const;
|
||||
virtual void paint_backdrop_filter(PaintContext&) const;
|
||||
virtual void paint_background(PaintContext&) const;
|
||||
virtual void paint_box_shadow(PaintContext&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue