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/SkShader.h

Issue 1329083004: Comments: note existance of SkImage::newShader next to CreateBitmapShader (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | 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 76b86a6cfe9d9eee4281e855f44f671a332daf45..abd50d6161157feb601e6b9385cb0150c188ef42 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -399,6 +399,8 @@ public:
TileMode tmx, TileMode tmy,
const SkMatrix* localMatrix = NULL);
+ // NOTE: You can create an SkImage Shader with SkImage::newShader().
+
/** Call this to create a new shader that will draw with the specified picture.
*
* @param src The picture to use inside the shader (if not NULL, its ref count
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698