Index: gm/picture.cpp |
diff --git a/gm/picture.cpp b/gm/picture.cpp |
index 904046deb771b700de377282864e6ae6b5e95e7a..1ea8adaa7601dd583403927eea2847638f146671 100644 |
--- a/gm/picture.cpp |
+++ b/gm/picture.cpp |
@@ -23,7 +23,7 @@ static sk_sp<SkPicture> make_picture() { |
paint.setColor(0x80FF0000); |
path.moveTo(0, 0); path.lineTo(100, 0); path.lineTo(100, 100); |
canvas->drawPath(path, paint); |
- |
+ |
paint.setColor(0x8000FF00); |
path.reset(); path.moveTo(0, 0); path.lineTo(100, 0); path.lineTo(0, 100); |
canvas->drawPath(path, paint); |
@@ -63,10 +63,10 @@ protected: |
SkPaint paint; |
canvas->drawPicture(fPicture); |
- |
+ |
matrix.setTranslate(110, 0); |
canvas->drawPicture(fPicture, &matrix, nullptr); |
- |
+ |
matrix.postTranslate(110, 0); |
canvas->drawPicture(fPicture, &matrix, &paint); |