aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkShader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 76b86a6cfe..abd50d6161 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