Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: include/core/SkImage.h

Issue 1573653002: remove SkImage::applyFilter() -- unused, can always re-add later (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/spritebitmap.cpp ('k') | src/image/SkImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 5157e0f252d06c59b1971be865c5f600f6b2806c..62a9e9cf426bc132ded0e4fad45aa76306361b0f 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -324,28 +324,6 @@ public:
*/
bool isLazyGenerated() const;
- /**
- * Apply the specified filter to this image, and return the result as a new image.
- *
- * if forceResultToOriginalSize is true, then the resulting image will be the same size as the
- * src, regardless of the normal output of the filter.
- *
- * If offset is non-null, it is set to the relative offset needed to draw the resulting image
- * in the same logical place as the original.
- *
- * e.g.
- * If the filter makes the result larger by a margin of 4 the output would be:
- * result->width() == this->width + 8
- * result->height() == this->height + 8
- * offset.x() == -4
- * offset.y() == -4
- *
- * If the filter fails to create a resulting image, null is returned, and the offset parameter
- * (if specified) will be undefined.
- */
- SkImage* applyFilter(SkImageFilter* filter, SkIPoint* offset,
- bool forceResultToOriginalSize) const;
-
protected:
SkImage(int width, int height, uint32_t uniqueID);
« no previous file with comments | « gm/spritebitmap.cpp ('k') | src/image/SkImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698