aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-06-24 10:29:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-24 10:29:18 -0700
commit71c3c760a83123ee0b3127b8c65c6394ce541c50 (patch)
treed0a2492c668d2263874cdc0409056747f0a2fa5e /include/core/SkMatrix.h
parent52d4deb1288633551ad275be748d8b0f73d7b2aa (diff)
add SkCanvas::drawAtlas
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r--include/core/SkMatrix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index dc482b888e..79ee001514 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -12,6 +12,7 @@
#include "SkRect.h"
+struct SkRSXform;
class SkString;
/** \class SkMatrix
@@ -244,6 +245,9 @@ public:
/** Set the matrix to rotate by the specified sine and cosine values.
*/
void setSinCos(SkScalar sinValue, SkScalar cosValue);
+
+ SkMatrix& setRSXform(const SkRSXform&);
+
/** Set the matrix to skew by sx and sy, with a pivot point at (px, py).
The pivot point is the coordinate that should remain unchanged by the
specified transformation.