Revert "Add SkImage->draw() call with src and dst rects."
This reverts commit 9c730e27e0bb550dc228ad496cadeed8787b2244.
git-svn-id: http://skia.googlecode.com/svn/trunk/include@10238 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkImage.h b/core/SkImage.h
index 85875d5..c2ee509 100644
--- a/core/SkImage.h
+++ b/core/SkImage.h
@@ -84,15 +84,6 @@
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).
*