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

Unified Diff: include/core/SkBitmap.h

Issue 17381008: More general version of image filtering; reworked to be robust and easier to SSE (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Separate implementation of downsampling for high quality results Created 7 years, 5 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
Index: include/core/SkBitmap.h
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 887169ccb522c2820c8c2f0ff3f78e454d0d00cf..2bfa19d5b253076dd5d9922f856d765db9e21fdc 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -538,6 +538,11 @@ public:
by calling copyTo().
*/
bool canCopyTo(Config newConfig) const;
+
+ /** Make a scaled copy of this bitmap into the provided destination.
+ */
+
+ void scale(SkBitmap *dst) const;
reed1 2013/07/09 14:25:47 1. Need to document what parts of dst need to be s
humper 2013/07/09 14:47:26 1) Yep, will do. 2) It's not a helper; this direc
reed1 2013/07/09 15:01:01 Does it generate diff results from just setting up
/**
* DEPRECATED -- will be replaced with API on SkPaint
« no previous file with comments | « gyp/opts.gyp ('k') | include/core/SkPaint.h » ('j') | src/core/SkBitmapFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698