Index: src/pathops/SkIntersectionHelper.h |
diff --git a/src/pathops/SkIntersectionHelper.h b/src/pathops/SkIntersectionHelper.h |
index c633fd02dfdffbb397a18206bd4fdd83a6b4bc54..79de034706b2c74f71b6f72748c40309abaa36ff 100644 |
--- a/src/pathops/SkIntersectionHelper.h |
+++ b/src/pathops/SkIntersectionHelper.h |
@@ -19,6 +19,7 @@ public: |
kVerticalLine_Segment = 0, |
kLine_Segment = SkPath::kLine_Verb, |
kQuad_Segment = SkPath::kQuad_Verb, |
+ kConic_Segment = SkPath::kConic_Verb, |
kCubic_Segment = SkPath::kCubic_Verb, |
}; |
@@ -82,6 +83,10 @@ public: |
return bounds().fTop; |
} |
+ SkScalar weight() const { |
+ return fSegment->weight(); |
+ } |
+ |
SkScalar x() const { |
return bounds().fLeft; |
} |