aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/effects/Sk1DPathEffect.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/effects/Sk1DPathEffect.cpp b/src/effects/Sk1DPathEffect.cpp
index 37cd13052e..8a74c16cda 100644
--- a/src/effects/Sk1DPathEffect.cpp
+++ b/src/effects/Sk1DPathEffect.cpp
@@ -126,6 +126,11 @@ static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas,
dst->quadTo(dstP[0], dstP[1]);
}
break;
+ case SkPath::kConic_Verb:
+ if (morphpoints(dstP, &srcP[1], 2, meas, dist)) {
+ dst->conicTo(dstP[0], dstP[1], iter.conicWeight());
+ }
+ break;
case SkPath::kCubic_Verb:
if (morphpoints(dstP, &srcP[1], 3, meas, dist)) {
dst->cubicTo(dstP[0], dstP[1], dstP[2]);