Searched refs:SkSVGSpreadMethod (Results 1 – 10 of 10) sorted by relevance
/external/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()
|
/external/skqp/experimental/svg/model/ |
D | SkSVGGradient.h | 24 void setSpreadMethod(const SkSVGSpreadMethod&); 44 SkSVGSpreadMethod fSpreadMethod = SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad);
|
D | SkSVGTypes.h | 199 class SkSVGSpreadMethod { 208 constexpr SkSVGSpreadMethod() : fType(Type::kPad) {} in SkSVGSpreadMethod() function 209 constexpr explicit SkSVGSpreadMethod(Type t) : fType(t) {} in SkSVGSpreadMethod() function 211 SkSVGSpreadMethod(const SkSVGSpreadMethod&) = default; 212 SkSVGSpreadMethod& operator=(const SkSVGSpreadMethod&) = default; 214 bool operator==(const SkSVGSpreadMethod& other) const { return fType == other.fType; } 215 bool operator!=(const SkSVGSpreadMethod& other) const { return !(*this == other); }
|
D | SkSVGGradient.cpp | 21 void SkSVGGradient::setSpreadMethod(const SkSVGSpreadMethod& spread) { in setSpreadMethod() 89 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kPad) == in onAsPaint() 91 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kRepeat) == in onAsPaint() 93 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kReflect) == in onAsPaint()
|
D | SkSVGAttributeParser.cpp | 514 bool SkSVGAttributeParser::parseSpreadMethod(SkSVGSpreadMethod* spread) { in parseSpreadMethod() 516 SkSVGSpreadMethod::Type fType; in parseSpreadMethod() 519 { SkSVGSpreadMethod::Type::kPad , "pad" }, in parseSpreadMethod() 520 { SkSVGSpreadMethod::Type::kReflect, "reflect" }, in parseSpreadMethod() 521 { SkSVGSpreadMethod::Type::kRepeat , "repeat" }, in parseSpreadMethod() 527 *spread = SkSVGSpreadMethod(gSpreadInfo[i].fType); in parseSpreadMethod()
|
D | SkSVGAttributeParser.h | 30 bool parseSpreadMethod(SkSVGSpreadMethod*);
|
D | SkSVGValue.h | 90 using SkSVGSpreadMethodValue = SkSVGWrapperValue<SkSVGSpreadMethod ,
|
D | SkSVGDOM.cpp | 172 SkSVGSpreadMethod spread; in SetSpreadMethodAttribute()
|
/external/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); }
|