Comments: note existance of SkImage::newShader next to CreateBitmapShader

Review URL: https://codereview.chromium.org/1329083004
This commit is contained in:
halcanary 2015-09-08 07:12:25 -07:00 committed by Commit bot
parent 189aef7834
commit a5f46e1821

View File

@ -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