Comments: note existance of SkImage::newShader next to CreateBitmapShader
Review URL: https://codereview.chromium.org/1329083004
This commit is contained in:
parent
189aef7834
commit
a5f46e1821
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user