Home
last modified time | relevance | path

Searched refs:SkSVGSpreadMethod (Results 1 – 7 of 7) sorted by relevance

/external/skia/experimental/svg/model/
DSkSVGTypes.h198 class SkSVGSpreadMethod {
207 constexpr SkSVGSpreadMethod() : fType(Type::kPad) {} in SkSVGSpreadMethod() function
208 constexpr explicit SkSVGSpreadMethod(Type t) : fType(t) {} in SkSVGSpreadMethod() function
210 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); }
DSkSVGLinearGradient.h23 void setSpreadMethod(const SkSVGSpreadMethod&);
48 SkSVGSpreadMethod fSpreadMethod = SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad);
DSkSVGLinearGradient.cpp24 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()
DSkSVGAttributeParser.cpp514 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()
DSkSVGAttributeParser.h29 bool parseSpreadMethod(SkSVGSpreadMethod*);
DSkSVGValue.h87 using SkSVGSpreadMethodValue = SkSVGWrapperValue<SkSVGSpreadMethod ,
DSkSVGDOM.cpp168 SkSVGSpreadMethod spread; in SetSpreadMethodAttribute()