Index: src/utils/SkCurveMeasure.h |
diff --git a/src/utils/SkCurveMeasure.h b/src/utils/SkCurveMeasure.h |
index 60de29e7a4643abd6aec587c41028b43ace57a27..b2d0ea17f3d4d2d2a8b600ebbe654968374cf91a 100644 |
--- a/src/utils/SkCurveMeasure.h |
+++ b/src/utils/SkCurveMeasure.h |
@@ -8,6 +8,7 @@ |
#ifndef SkCurveMeasure_DEFINED |
#define SkCurveMeasure_DEFINED |
+#include "SkPathMeasurePriv.h" |
#include "SkPoint.h" |
#include "SkNx.h" |
@@ -26,14 +27,6 @@ static Sk8f weights = Sk8f::Load(weights8); |
static Sk8f absc = 0.5f*(Sk8f::Load(absc8) + 1.0f); |
-// this is the same enum as in SkPathMeasure but it doesn't have a name there |
-enum SkSegType { |
- kLine_SegType, |
- kQuad_SegType, |
- kCubic_SegType, |
- kConic_SegType, |
-}; |
- |
class ArcLengthIntegrator { |
public: |
ArcLengthIntegrator() {} |