diff options
Diffstat (limited to 'include/core/SkShader.h')
-rw-r--r-- | include/core/SkShader.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h index 076ecf5460..acff959949 100644 --- a/include/core/SkShader.h +++ b/include/core/SkShader.h @@ -16,7 +16,6 @@ #include "SkPaint.h" class SkPath; -class SkPicture; class GrContext; class GrEffectRef; @@ -346,16 +345,6 @@ public: static SkShader* CreateBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy); - /** 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 - * is incremented). - * @param tmx The tiling mode to use when sampling the bitmap in the x-direction. - * @param tmy The tiling mode to use when sampling the bitmap in the y-direction. - * @return Returns a new shader object. Note: this function never returns null. - */ - static SkShader* CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy); - SK_TO_STRING_VIRT() SK_DEFINE_FLATTENABLE_TYPE(SkShader) |