Index: src/core/SkGeometry.h |
diff --git a/src/core/SkGeometry.h b/src/core/SkGeometry.h |
index 0fd5a61711570e8500effce2495abee75e9cb7d1..6a8546a67b63a9dfbc576bbb73082485c1f40815 100644 |
--- a/src/core/SkGeometry.h |
+++ b/src/core/SkGeometry.h |
@@ -194,6 +194,7 @@ enum SkRotationDirection { |
kCCW_SkRotationDirection |
}; |
+#ifdef SK_SUPPORT_LEGACY_ARCTO |
/** Maximum number of points needed in the quadPoints[] parameter for |
SkBuildQuadArc() |
*/ |
@@ -207,6 +208,7 @@ enum SkRotationDirection { |
*/ |
int SkBuildQuadArc(const SkVector& unitStart, const SkVector& unitStop, |
SkRotationDirection, const SkMatrix*, SkPoint quadPoints[]); |
+#endif |
struct SkConic { |
SkConic() {} |