17 this->setX(SkSVGAttributeParser::parse<SkSVGLength>(
"x", n, v)) ||
18 this->setY(SkSVGAttributeParser::parse<SkSVGLength>(
"y", n, v)) ||
19 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>(
"width", n, v)) ||
20 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>(
"height", n, v)) ||
22 SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>(
"maskUnits", n, v)) ||
23 this->setMaskContentUnits(
24 SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>(
"maskContentUnits", n, v));
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void translate(SkScalar dx, SkScalar dy)
void scale(SkScalar sx, SkScalar sy)
static sk_sp< SkColorFilter > Compose(const sk_sp< SkColorFilter > &outer, sk_sp< SkColorFilter > inner)
static sk_sp< SkColorFilter > SRGBToLinearGamma()
skia_private::STArray< 1, sk_sp< SkSVGNode >, true > fChildren
void renderMask(const SkSVGRenderContext &) const
SkRect bounds(const SkSVGRenderContext &) const
bool parseAndSetAttribute(const char *, const char *) override
virtual bool parseAndSetAttribute(const char *name, const char *value)
SkRect resolveOBBRect(const SkSVGLength &x, const SkSVGLength &y, const SkSVGLength &w, const SkSVGLength &h, SkSVGObjectBoundingBoxUnits) const
OBBTransform transformForCurrentOBB(SkSVGObjectBoundingBoxUnits) const
const SkSVGPresentationContext & presentationContext() const
SkCanvas * canvas() const
std::shared_ptr< DlMaskFilter > mask_filter
static sk_sp< SkColorFilter > Make()
SkSVGProperty< SkSVGColorspace, true > fColorInterpolation
SkSVGPresentationAttributes fInherited