aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/Viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/viewer/Viewer.h')
-rw-r--r--tools/viewer/Viewer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/viewer/Viewer.h b/tools/viewer/Viewer.h
index c785cff78e..0bafee175b 100644
--- a/tools/viewer/Viewer.h
+++ b/tools/viewer/Viewer.h
@@ -59,6 +59,10 @@ private:
sk_app::CommandSet fCommands;
SkTouchGesture fGesture;
+
+ // identity unless the window initially scales the content to fit the screen.
+ SkMatrix fDefaultMatrix;
+ SkMatrix fDefaultMatrixInv;
};