diff options
author | halcanary <halcanary@google.com> | 2015-09-08 07:12:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-08 07:12:25 -0700 |
commit | a5f46e18212e8f4812ae25fda3acc6a5217613b1 (patch) | |
tree | c141c9d5c99fe6f37ad660f2f33777cc25297a49 | |
parent | 189aef7834e20a01c062817b54a49b76ad4a0b4b (diff) |
Comments: note existance of SkImage::newShader next to CreateBitmapShader
Review URL: https://codereview.chromium.org/1329083004
-rw-r--r-- | include/core/SkShader.h | 2 |
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 |