mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:47:46 +00:00
LibWeb: Add support for inset shadows
Also move code for outer shadows to a helper.
This commit is contained in:
parent
df79a2720b
commit
af1798dd04
4 changed files with 380 additions and 299 deletions
|
@ -26,7 +26,13 @@ struct ShadowData {
|
|||
ShadowPlacement placement;
|
||||
};
|
||||
|
||||
void paint_box_shadow(PaintContext&, CSSPixelRect const&, BorderRadiiData const&, Vector<ShadowData> const&);
|
||||
void paint_box_shadow(
|
||||
PaintContext&,
|
||||
CSSPixelRect const& bordered_content_rect,
|
||||
CSSPixelRect const& borderless_content_rect,
|
||||
BordersData const& borders_data,
|
||||
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