From a5f46e18212e8f4812ae25fda3acc6a5217613b1 Mon Sep 17 00:00:00 2001 From: halcanary Date: Tue, 8 Sep 2015 07:12:25 -0700 Subject: [PATCH] Comments: note existance of SkImage::newShader next to CreateBitmapShader Review URL: https://codereview.chromium.org/1329083004 --- include/core/SkShader.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1