34 lm = &otherLocalMatrix;
40 return sk_make_sp<SkLocalMatrixShader>(std::move(baseShader), *lm);
48 return sk_make_sp<SkColorFilterShader>(
sk_ref_sp(
base), 1.0f, std::move(filter));
56 return sk_make_sp<SkWorkingColorSpaceShader>(
sk_ref_sp(
base), std::move(workingSpace));
sk_sp< T > sk_ref_sp(T *obj)
SkShaderBase * as_SB(SkShader *shader)
static SkMatrix ConcatLocalMatrices(const SkMatrix &parentLM, const SkMatrix &childLM)
virtual SkImage * onIsAImage(SkMatrix *, SkTileMode[2]) const
virtual sk_sp< SkShader > makeAsALocalMatrixShader(SkMatrix *localMatrix) const
sk_sp< SkShader > makeWithWorkingColorSpace(sk_sp< SkColorSpace >) const
sk_sp< SkShader > makeWithColorFilter(sk_sp< SkColorFilter >) const
sk_sp< SkShader > makeWithLocalMatrix(const SkMatrix &) const