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

Unified Diff: include/core/SkShader.h

Issue 105823004: Update documentation around drawBitmap and shaders (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | « include/core/SkCanvas.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkShader.h
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 11956ce0d2d187f8401b5224b7e12cd3cc80345e..cdb7a2fdbf64d4e9ef7428396f871e5f58e2c567 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -334,6 +334,9 @@ public:
* exceed implementation limits (currently at 64K - 1)) then SkEmptyShader
* may be returned.
*
+ * If the src is kA8_Config then that mask will be colorized using the color on
+ * the paint.
+ *
* @param src The bitmap to use inside the shader
* @param tmx The tiling mode to use when sampling the bitmap in the x-direction.
* @param tmy The tiling mode to use when sampling the bitmap in the y-direction.
« no previous file with comments | « include/core/SkCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698