mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:47:44 +00:00
LibWeb: Pass border radii data to shadow painting
This is not used yet, but will be needed for painting shadows on elements that have a border-radius.
This commit is contained in:
parent
5bf84a5b0e
commit
08baeb1e7d
5 changed files with 8 additions and 4 deletions
|
@ -26,7 +26,7 @@ struct ShadowData {
|
|||
ShadowPlacement placement;
|
||||
};
|
||||
|
||||
void paint_box_shadow(PaintContext&, Gfx::IntRect const&, Vector<ShadowData> const&);
|
||||
void paint_box_shadow(PaintContext&, Gfx::IntRect const&, BorderRadiiData const&, Vector<ShadowData> const&);
|
||||
void paint_text_shadow(PaintContext&, Layout::LineBoxFragment const&, Vector<ShadowData> const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue