Add FillRule::clockwise to the runtime

Diffs=
11d4e46498 Add FillRule::clockwise to the runtime (#8786)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
This commit is contained in:
csmartdalton
2024-12-20 23:45:02 +00:00
parent 2490a1bdd6
commit 4356a5c53d
29 changed files with 414 additions and 153 deletions

View File

@@ -40,7 +40,8 @@ public:
static SkPathFillType convert(FillRule value) {
switch (value) {
case FillRule::evenOdd: return SkPathFillType::kEvenOdd;
case FillRule::nonZero: return SkPathFillType::kWinding;
case FillRule::nonZero:
case FillRule::clockwise: return SkPathFillType::kWinding;
}
assert(false);
return SkPathFillType::kWinding;