diff options
author | 2015-05-06 12:56:48 -0700 | |
---|---|---|
committer | 2015-05-06 12:56:48 -0700 | |
commit | a85d4d0814818e4ddabb9237da209d61d6cd5854 (patch) | |
tree | a9da064f603bfec832f2150baa566381ddf5e35c /include/core/SkDevice.h | |
parent | 44d43d8d6e4f9321c9001f269ff433bd06aa81e1 (diff) |
Make drawImage a virtual on SkDevice
This reverts commit 06dad4b92f1fcb593bc686f9537d3e0d866b2241.
BUG=485243
Review URL: https://codereview.chromium.org/1129843003
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r-- | include/core/SkDevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index 8a219d7053..b474687cfb 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -209,6 +209,10 @@ protected: const SkPaint& paint, SkCanvas::DrawBitmapRectFlags flags) = 0; + virtual void drawImage(const SkDraw&, const SkImage*, SkScalar x, SkScalar y, const SkPaint&); + virtual void drawImageRect(const SkDraw&, const SkImage*, const SkRect* src, const SkRect& dst, + const SkPaint&); + /** * Does not handle text decoration. * Decorations (underline and stike-thru) will be handled by SkCanvas. |