2023-10-15 04:27:48 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <LibWeb/Painting/BordersData.h>
|
|
|
|
#include <LibWeb/Painting/ShadowData.h>
|
|
|
|
|
|
|
|
namespace Web::Painting {
|
|
|
|
|
2024-06-07 18:06:25 +03:00
|
|
|
struct PaintBoxShadowParams {
|
2024-06-07 15:42:35 +03:00
|
|
|
Gfx::Color color;
|
|
|
|
ShadowPlacement placement;
|
2023-10-15 04:27:48 +02:00
|
|
|
CornerRadii corner_radii;
|
2024-06-07 16:02:50 +03:00
|
|
|
int offset_x;
|
|
|
|
int offset_y;
|
|
|
|
int blur_radius;
|
|
|
|
int spread_distance;
|
|
|
|
Gfx::IntRect device_content_rect;
|
2023-10-15 04:27:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|