Searched refs:SkSVGSpreadMethod (Results 1 – 7 of 7) sorted by relevance
198 class SkSVGSpreadMethod {207 constexpr SkSVGSpreadMethod() : fType(Type::kPad) {} in SkSVGSpreadMethod() function208 constexpr explicit SkSVGSpreadMethod(Type t) : fType(t) {} in SkSVGSpreadMethod() function210 SkSVGSpreadMethod(const SkSVGSpreadMethod&) = default;211 SkSVGSpreadMethod& operator=(const SkSVGSpreadMethod&) = default;213 bool operator==(const SkSVGSpreadMethod& other) const { return fType == other.fType; }214 bool operator!=(const SkSVGSpreadMethod& other) const { return !(*this == other); }
23 void setSpreadMethod(const SkSVGSpreadMethod&);48 SkSVGSpreadMethod fSpreadMethod = SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad);
24 void SkSVGLinearGradient::setSpreadMethod(const SkSVGSpreadMethod& spread) { in setSpreadMethod()133 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kPad) == in onAsPaint()135 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kRepeat) == in onAsPaint()137 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kReflect) == in onAsPaint()
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()
29 bool parseSpreadMethod(SkSVGSpreadMethod*);
87 using SkSVGSpreadMethodValue = SkSVGWrapperValue<SkSVGSpreadMethod ,
168 SkSVGSpreadMethod spread; in SetSpreadMethodAttribute()