ladybird/Userland/Libraries/LibWeb/Painting/PaintBoxShadowParams.h
Aliaksandr Kalenik 1c8d37d528 LibWeb: Rename PaintOuterBoxShadowParams to PaintBoxShadowParams
Drop "outer" from the name because this struct is used for both inner
and outer shadows.
2024-06-07 18:41:57 +02:00

25 lines
487 B
C++

/*
* 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 {
struct PaintBoxShadowParams {
Gfx::Color color;
ShadowPlacement placement;
CornerRadii corner_radii;
int offset_x;
int offset_y;
int blur_radius;
int spread_distance;
Gfx::IntRect device_content_rect;
};
}