mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:37:45 +00:00
LibWeb: Paint backgrounds with multiple layers :^)
This commit is contained in:
parent
cdeac132dc
commit
e8b7946732
4 changed files with 20 additions and 36 deletions
|
@ -13,13 +13,6 @@
|
|||
|
||||
namespace Web::Painting {
|
||||
|
||||
struct BackgroundData {
|
||||
Color color;
|
||||
Gfx::Bitmap const* image;
|
||||
CSS::Repeat repeat_x;
|
||||
CSS::Repeat repeat_y;
|
||||
};
|
||||
|
||||
void paint_background(PaintContext&, Gfx::IntRect const&, BackgroundData const&, BorderRadiusData const&);
|
||||
void paint_background(PaintContext&, Gfx::IntRect const&, Color background_color, Vector<CSS::BackgroundLayerData> const*, BorderRadiusData const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue