mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Implemented shadows support for CanvasRenderingContext2D
This commit is contained in:
parent
6d68d6ddb2
commit
34f7bf979d
Notes:
github-actions[bot]
2024-10-23 18:44:55 +00:00
Author: https://github.com/uysalibov 🔰
Commit: 34f7bf979d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1848
Reviewed-by: https://github.com/kalenikaliaksandr ✅
5 changed files with 152 additions and 3 deletions
|
@ -80,6 +80,9 @@ public:
|
|||
Gfx::AffineTransform transform;
|
||||
FillOrStrokeStyle fill_style { Gfx::Color::Black };
|
||||
FillOrStrokeStyle stroke_style { Gfx::Color::Black };
|
||||
float shadow_offset_x { 0.0f };
|
||||
float shadow_offset_y { 0.0f };
|
||||
Gfx::Color shadow_color { Gfx::Color::Transparent };
|
||||
float line_width { 1 };
|
||||
Vector<double> dash_list;
|
||||
bool image_smoothing_enabled { true };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue