mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 03:11:53 +00:00
LibWeb+LibGfx: Keep path properties when cloning and implement fill-rule
This commit is contained in:
parent
a7e83c38ee
commit
3467076dbc
Notes:
github-actions[bot]
2024-10-31 10:49:33 +00:00
Author: https://github.com/Gingeh
Commit: 3467076dbc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1996
Reviewed-by: https://github.com/AtkinsSJ ✅
9 changed files with 40 additions and 20 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Variant.h>
|
||||
#include <LibGfx/WindingRule.h>
|
||||
#include <LibWeb/CSS/CSSStyleValue.h>
|
||||
#include <LibWeb/CSS/LengthBox.h>
|
||||
#include <LibWeb/CSS/PercentageOr.h>
|
||||
|
@ -84,8 +85,7 @@ struct Polygon {
|
|||
|
||||
bool operator==(Polygon const&) const = default;
|
||||
|
||||
// FIXME: Actually use the fill rule
|
||||
FillRule fill_rule;
|
||||
Gfx::WindingRule fill_rule;
|
||||
Vector<Point> points;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue