18 this->setCx(SkSVGAttributeParser::parse<SkSVGLength>(
"cx",
name,
value)) ||
19 this->setCy(SkSVGAttributeParser::parse<SkSVGLength>(
"cy",
name,
value)) ||
20 this->setR(SkSVGAttributeParser::parse<SkSVGLength>(
"r",
name,
value)) ||
21 this->setFx(SkSVGAttributeParser::parse<SkSVGLength>(
"fx",
name,
value)) ||
22 this->setFy(SkSVGAttributeParser::parse<SkSVGLength>(
"fy",
name,
value));
#define INHERITED(method,...)
static SkScalar center(float pos0, float pos1)
static sk_sp< SkShader > MakeTwoPointConical(const SkPoint &start, SkScalar startRadius, const SkPoint &end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
static sk_sp< SkShader > MakeRadial(const SkPoint ¢er, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
bool parseAndSetAttribute(const char *, const char *) override
SkScalar resolve(const SkSVGLength &, LengthType) const
sk_sp< SkShader > onMakeShader(const SkSVGRenderContext &, const SkColor4f *, const SkScalar *, int count, SkTileMode, const SkMatrix &) const override
bool parseAndSetAttribute(const char *, const char *) override
const SkSVGLengthContext & lengthContext() const
constexpr SkColor4f kBlack
PODArray< SkColor > colors
SK_API sk_sp< SkShader > Color(SkColor)
DEF_SWITCHES_START aot vmservice shared library name
static constexpr SkPoint Make(float x, float y)