[PathKit] Add conic tests and re-create expectations.
Expectations changed in https://skia-review.googlesource.com/147720
Also apparently I missed a spot when adding conics.
Bug: skia:
Change-Id: I6a9b40ef4518a304bcb575a1ea9be1c900ef18d1
Reviewed-on: https://skia-review.googlesource.com/147816
Reviewed-by: Kevin Lubick <kjlubick@google.com>
diff --git a/experimental/pathkit/pathkit_wasm_bindings.cpp b/experimental/pathkit/pathkit_wasm_bindings.cpp
index db540d1..6efaf3c 100644
--- a/experimental/pathkit/pathkit_wasm_bindings.cpp
+++ b/experimental/pathkit/pathkit_wasm_bindings.cpp
@@ -130,6 +130,13 @@
x2 = cmds[i++], y2 = cmds[i++];
path.quadTo(x1, y1, x2, y2);
break;
+ case CONIC:
+ CHECK_NUM_ARGS(6);
+ x1 = cmds[i++], y1 = cmds[i++];
+ x2 = cmds[i++], y2 = cmds[i++];
+ x3 = cmds[i++]; // width
+ path.conicTo(x1, y1, x2, y2, x3);
+ break;
case CUBIC:
CHECK_NUM_ARGS(6);
x1 = cmds[i++], y1 = cmds[i++];