diff options
author | 2015-06-24 10:29:17 -0700 | |
---|---|---|
committer | 2015-06-24 10:29:18 -0700 | |
commit | 71c3c760a83123ee0b3127b8c65c6394ce541c50 (patch) | |
tree | d0a2492c668d2263874cdc0409056747f0a2fa5e /include/core/SkMatrix.h | |
parent | 52d4deb1288633551ad275be748d8b0f73d7b2aa (diff) |
add SkCanvas::drawAtlas
BUG=skia:
Review URL: https://codereview.chromium.org/1181913003
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r-- | include/core/SkMatrix.h | 4 |
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. |