mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibWeb/Painting: Delete unused LinearGradientData.h
This commit is contained in:
committed by
Andreas Kling
parent
627dcb90bd
commit
aa08e52548
@@ -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;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user