aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/geometry/SkSGPath.h
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-04-25 21:43:03 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-26 02:35:10 +0000
commitcd05b196099492da8f4badd3d47a906395fc0b79 (patch)
treeb75c7b86c278d31f438ae2d3733f5c1bafd1cadb /experimental/sksg/geometry/SkSGPath.h
parent1366282bc2f2c9566e1ffa77bafb2ec4d8f190df (diff)
[skottie] Add support for inverse mask paths
TBR= Change-Id: I442033b2e82777c90ee497d8a5b2310af1d2e631 Reviewed-on: https://skia-review.googlesource.com/123840 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'experimental/sksg/geometry/SkSGPath.h')
-rw-r--r--experimental/sksg/geometry/SkSGPath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/experimental/sksg/geometry/SkSGPath.h b/experimental/sksg/geometry/SkSGPath.h
index a398e2f0a4..1a8718868d 100644
--- a/experimental/sksg/geometry/SkSGPath.h
+++ b/experimental/sksg/geometry/SkSGPath.h
@@ -26,6 +26,7 @@ public:
static sk_sp<Path> Make(const SkPath& r) { return sk_sp<Path>(new Path(r)); }
SG_ATTRIBUTE(Path, SkPath, fPath)
+ SG_MAPPED_ATTRIBUTE(FillType, SkPath::FillType, fPath)
protected:
void onClip(SkCanvas*, bool antiAlias) const override;