Searched refs:SkSVGSpreadMethod (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/modules/svg/src/ |
D | SkSVGGradient.cpp | 20 SkSVGAttributeParser::parse<SkSVGSpreadMethod>("spreadMethod", name, value)) || in parseAndSetAttribute() 81 static_assert(static_cast<SkTileMode>(SkSVGSpreadMethod::Type::kPad) == in onAsPaint() 83 static_assert(static_cast<SkTileMode>(SkSVGSpreadMethod::Type::kRepeat) == in onAsPaint() 85 static_assert(static_cast<SkTileMode>(SkSVGSpreadMethod::Type::kReflect) == in onAsPaint() 101 bool SkSVGAttributeParser::parse(SkSVGSpreadMethod* spread) { in parse() 103 SkSVGSpreadMethod::Type fType; in parse() 106 { SkSVGSpreadMethod::Type::kPad , "pad" }, in parse() 107 { SkSVGSpreadMethod::Type::kReflect, "reflect" }, in parse() 108 { SkSVGSpreadMethod::Type::kRepeat , "repeat" }, in parse() 114 *spread = SkSVGSpreadMethod(gSpreadInfo[i].fType); in parse()
|
/third_party/skia/modules/svg/include/ |
D | SkSVGGradient.h | 23 SVG_ATTR(SpreadMethod, SkSVGSpreadMethod, SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad)) in SVG_ATTR()
|
D | SkSVGTypes.h | 278 class SkSVGSpreadMethod { 287 constexpr SkSVGSpreadMethod() : fType(Type::kPad) {} in SkSVGSpreadMethod() function 288 constexpr explicit SkSVGSpreadMethod(Type t) : fType(t) {} in SkSVGSpreadMethod() function 290 SkSVGSpreadMethod(const SkSVGSpreadMethod&) = default; 291 SkSVGSpreadMethod& operator=(const SkSVGSpreadMethod&) = default; 293 bool operator==(const SkSVGSpreadMethod& other) const { return fType == other.fType; } 294 bool operator!=(const SkSVGSpreadMethod& other) const { return !(*this == other); }
|