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

Unified Diff: include/core/SkColorFilter.h

Issue 1664663003: extend compose-colorfilter to 4f (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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/SkColorFilter.h
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
index 14192c55ea93cae5219d9b78a7581ebd0857ba8f..ad97a730ee6a2c998a63e8f4a461eb8cfdaeb111 100644
--- a/include/core/SkColorFilter.h
+++ b/include/core/SkColorFilter.h
@@ -102,6 +102,11 @@ public:
*/
SkColor filterColor(SkColor) const;
+ /**
+ * Filters a single color.
+ */
+ SkColor4f filterColor4f(const SkColor4f&) const;
+
/** Create a colorfilter that uses the specified color and mode.
If the Mode is DST, this function will return NULL (since that
mode will have no effect on the result).
« no previous file with comments | « include/core/SkColor.h ('k') | src/core/SkColor.cpp » ('j') | src/core/SkColorFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698