mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
LibWeb/Painting: Delete unused LinearGradientData.h
This commit is contained in:
parent
627dcb90bd
commit
aa08e52548
Notes:
github-actions[bot]
2024-07-29 09:18:47 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/aa08e525489 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/880
1 changed files with 0 additions and 38 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue