aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImage.h
diff options
context:
space:
mode:
authorGravatar fmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-22 17:01:37 +0000
committerGravatar fmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-22 17:01:37 +0000
commit1d241f13d5474770ff517bd0c7999d9014e12ced (patch)
treecf62532e5239bccf7283be8ce74a1ea42f441e4e /include/core/SkImage.h
parent1d91600a0272025364e2d3447b4c085f470a773b (diff)
Revert "Add SkImage->draw() call with src and dst rects."
This reverts commit 9c730e27e0bb550dc228ad496cadeed8787b2244. git-svn-id: http://skia.googlecode.com/svn/trunk@10238 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r--include/core/SkImage.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 85875d566f..c2ee5093fb 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -84,15 +84,6 @@ public:
void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*);
/**
- * Draw the image, cropped to the src rect, to the dst rect of a canvas.
- * If src is larger than the bounds of the image, the rest of the image is
- * filled with transparent black pixels.
- *
- * See SkCanvas::drawBitmapRectToRect for similar behavior.
- */
- void draw(SkCanvas*, const SkRect* src, const SkRect& dst, const SkPaint*);
-
- /**
* 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).
*