Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index c2ee5093fb679898c7c94d37814db7a1dc9d3049..35d140f4ca68b961090d3431d9fa94e603a20d99 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -82,7 +82,8 @@ public: |
SkShader* newShader(SkShader::TileMode, SkShader::TileMode) const; |
void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*); |
- |
+ void draw(SkCanvas*, SkRect src, SkRect dst, const SkPaint*); |
Justin Novosad
2013/07/18 21:54:37
Use "const SkRect&" for src and dst
reed1
2013/07/19 14:03:45
How about
const SkRect* src
const SkRect& dst
So
|
+ |
/** |
* Encode the image's pixels and return the result as a new SkData, which |
* the caller must manage (i.e. call unref() when they are done). |