Index: include/effects/SkBitmapSource.h |
diff --git a/include/effects/SkBitmapSource.h b/include/effects/SkBitmapSource.h |
index 138987e701bb91d0529dc3e3b9bbe7fbdbc9c2a6..ab50c184c0de633d31228431c3d31f1ea616ecf7 100644 |
--- a/include/effects/SkBitmapSource.h |
+++ b/include/effects/SkBitmapSource.h |
@@ -13,7 +13,7 @@ |
class SK_API SkBitmapSource : public SkImageFilter { |
public: |
- explicit SkBitmapSource(const SkBitmap& bitmap); |
+ explicit SkBitmapSource(const SkBitmap& bitmap, const SkRect* srcRect = NULL, const SkRect* dstRect = NULL); |
reed1
2013/12/05 18:48:25
Two option params + explicit?
Can we make two (at
Stephen White
2013/12/05 18:59:54
Yep, explicit is still needed since call sites of
|
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBitmapSource) |
@@ -25,6 +25,7 @@ protected: |
private: |
SkBitmap fBitmap; |
+ SkRect fSrcRect, fDstRect; |
typedef SkImageFilter INHERITED; |
}; |