LibWeb+LibGfx: Keep path properties when cloning and implement fill-rule

This commit is contained in:
Gingeh 2024-10-28 13:51:23 +11:00 committed by Sam Atkins
commit 3467076dbc
Notes: github-actions[bot] 2024-10-31 10:49:33 +00:00
9 changed files with 40 additions and 20 deletions

View file

@ -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;
};