aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDrawable.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-07-07 10:22:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-07 10:22:31 -0700
commita8db72864a43ad1fbba3c2892cf5cd88060a43ef (patch)
tree21845a4d0d502dba3ee439320099c94406bdf53f /include/core/SkDrawable.h
parent31dc1b2db0f04e68e540ebc339c8bde0978e5b97 (diff)
add matrix options to drawDrawable
Diffstat (limited to 'include/core/SkDrawable.h')
-rw-r--r--include/core/SkDrawable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkDrawable.h b/include/core/SkDrawable.h
index 15bb0bbe0f..2f0a62d8b5 100644
--- a/include/core/SkDrawable.h
+++ b/include/core/SkDrawable.h
@@ -30,7 +30,8 @@ public:
* (i.e. the saveLevel() on the canvas will match what it was when draw() was called,
* and the current matrix and clip settings will not be changed.
*/
- void draw(SkCanvas*);
+ void draw(SkCanvas*, const SkMatrix* = NULL);
+ void draw(SkCanvas*, SkScalar x, SkScalar y);
SkPicture* newPictureSnapshot();