/* * Copyright (c) 2021, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include 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&); }