use pathbuilder
Change-Id: I2bca419a3273a9cc8a984b0f4159f518968c6652
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313077
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/gm/bigmatrix.cpp b/gm/bigmatrix.cpp
index 37b092e..d19b049 100644
--- a/gm/bigmatrix.cpp
+++ b/gm/bigmatrix.cpp
@@ -38,14 +38,11 @@
SkASSERT(success);
(void)success; // silence compiler :(
- SkPath path;
-
SkPoint pt = {10 * SK_Scalar1, 10 * SK_Scalar1};
SkScalar small = 1 / (500 * SK_Scalar1);
m.mapPoints(&pt, 1);
- path.addCircle(pt.fX, pt.fY, small);
- canvas->drawPath(path, paint);
+ canvas->drawCircle(pt.fX, pt.fY, small, paint);
pt.set(30 * SK_Scalar1, 10 * SK_Scalar1);
m.mapPoints(&pt, 1);