aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-09-08 07:12:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-08 07:12:25 -0700
commita5f46e18212e8f4812ae25fda3acc6a5217613b1 (patch)
treec141c9d5c99fe6f37ad660f2f33777cc25297a49 /include
parent189aef7834e20a01c062817b54a49b76ad4a0b4b (diff)
Comments: note existance of SkImage::newShader next to CreateBitmapShader
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