diff options
author | Hal Canary <halcanary@google.com> | 2017-06-27 09:58:56 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-27 15:33:35 +0000 |
commit | b964238f0bded00bae59c26c5f366a7780a0ef5f (patch) | |
tree | ce1869a71baf1bd518b8edafe00507af0deafb67 /src/core/SkBitmapDevice.h | |
parent | ca0b43803b45d6e24c13edb118cc3862bb00f7ae (diff) |
SkDevice::drawBitmap takes x,y, not matrix
Motivation: a simpler call should make it easier for SkPDF to learn how
to do drawBitmap with A8 bitmap and a maskfilter.
Change-Id: I1a5d190b40b0e9e08fa8876d265a9835a3e9987d
Reviewed-on: https://skia-review.googlesource.com/20961
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/core/SkBitmapDevice.h')
-rw-r--r-- | src/core/SkBitmapDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkBitmapDevice.h b/src/core/SkBitmapDevice.h index 3e9473d4ee..7b08017f18 100644 --- a/src/core/SkBitmapDevice.h +++ b/src/core/SkBitmapDevice.h @@ -89,7 +89,7 @@ protected: */ void drawPath(const SkPath&, const SkPaint&, const SkMatrix* prePathMatrix, bool pathIsMutable) override; - void drawBitmap(const SkBitmap&, const SkMatrix&, const SkPaint&) override; + void drawBitmap(const SkBitmap&, SkScalar x, SkScalar y, const SkPaint&) override; void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) override; /** |