18 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>(
"xlink:href", n, v)) ||
19 this->setPreserveAspectRatio(SkSVGAttributeParser::parse<SkSVGPreserveAspectRatio>(
20 "preserveAspectRatio", n, v));
29 if (!imgInfo.fImage) {
35 const SkRect& dstRect = imgInfo.fDst;
static sk_sp< SkImageFilter > Merge(sk_sp< SkImageFilter > *const filters, int count, const CropRect &cropRect={})
static sk_sp< SkImageFilter > Image(sk_sp< SkImage > image, const SkRect &srcRect, const SkRect &dstRect, const SkSamplingOptions &sampling)
bool parseAndSetAttribute(const char *, const char *) override
sk_sp< SkImageFilter > onMakeImageFilter(const SkSVGRenderContext &, const SkSVGFilterContext &) const override
SkRect resolveFilterSubregion(const SkSVGRenderContext &, const SkSVGFilterContext &) const
bool parseAndSetAttribute(const char *, const char *) override
const SkRect & filterEffectsRegion() const
static ImageInfo LoadImage(const sk_sp< skresources::ResourceProvider > &, const SkSVGIRI &, const SkRect &, SkSVGPreserveAspectRatio)
const sk_sp< skresources::ResourceProvider > & resourceProvider() const
static SkRect Make(const SkISize &size)