LibWeb/Painting: Delete unused LinearGradientData.h

This commit is contained in:
Aliaksandr Kalenik 2024-07-29 01:15:44 +03:00 committed by Andreas Kling
parent 627dcb90bd
commit aa08e52548
Notes: github-actions[bot] 2024-07-29 09:18:47 +00:00

View file

@ -1,38 +0,0 @@
/*
* Copyright (c) 2023, MacDue <macdue@dueutil.tech>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Span.h>
#include <AK/Vector.h>
#include <LibGfx/Color.h>
#include <LibGfx/Gradients.h>
#include <LibWeb/Forward.h>
namespace Web::Painting {
using ColorStopList = Vector<Gfx::ColorStop, 4>;
struct ColorStopData {
ColorStopList list;
Optional<float> repeat_length;
};
struct LinearGradientData {
float gradient_angle;
ColorStopData color_stops;
};
struct ConicGradientData {
float start_angle;
ColorStopData color_stops;
};
struct RadialGradientData {
ColorStopData color_stops;
};
}