Index: gm/drawregion.cpp |
diff --git a/gm/drawregion.cpp b/gm/drawregion.cpp |
index 1e9d6c55e2f1f5d8d6f32c0554049e44aef7cb89..a2633f9d9fc423f675025f6749efed2c8b5257f3 100644 |
--- a/gm/drawregion.cpp |
+++ b/gm/drawregion.cpp |
@@ -37,6 +37,8 @@ protected: |
} |
void onDraw(SkCanvas* canvas) override { |
+ canvas->translate(10, 10); |
msarett
2016/08/26 18:41:55
Applying the view matrix is a no-op when it's iden
|
+ |
SkPaint paint; |
paint.setStyle(SkPaint::kFill_Style); |
paint.setColor(0xFFFF00FF); |