diff --git a/docs/SkImage_Reference.bmh b/docs/SkImage_Reference.bmh index 097b7df084..dcc4ec4671 100644 --- a/docs/SkImage_Reference.bmh +++ b/docs/SkImage_Reference.bmh @@ -1538,7 +1538,8 @@ If cachingHint is kDisallow_CachingHint, pixels are not added to the local cache # ------------------------------------------------------------------------------ -#Method sk_sp makeWithFilter(const SkImageFilter* filter, const SkIRect& subset, +#Method sk_sp makeWithFilter(GrContext* context, + const SkImageFilter* filter, const SkIRect& subset, const SkIRect& clipBounds, SkIRect* outSubset, SkIPoint* offset) const #In Constructors @@ -1563,7 +1564,8 @@ By translating canvas by returned offset, Image appears stationary. clipBounds.outset(60, 60); SkIRect outSubset; SkIPoint offset; - sk_sp filtered(image->makeWithFilter(offsetFilter.get(), subset, clipBounds, + sk_sp filtered(image->makeWithFilter(canvas->getGrContext(), + offsetFilter.get(), subset, clipBounds, &outSubset, &offset)); SkPaint paint; paint.setAntiAlias(true); @@ -1580,6 +1582,19 @@ By translating canvas by returned offset, Image appears stationary. # ------------------------------------------------------------------------------ +#Method sk_sp makeWithFilter(const SkImageFilter* filter, const SkIRect& subset, + const SkIRect& clipBounds, SkIRect* outSubset, + SkIPoint* offset) const +#In Constructors +#Line # creates filtered, clipped Image ## +#Populate +#NoExample +## +#SeeAlso makeShader SkPaint::setImageFilter +#Method ## + +# ------------------------------------------------------------------------------ + #Typedef std::function BackendTextureReleaseProc #Line # parameter type for MakeBackendTextureFromSkImage ##