Home
last modified time | relevance | path

Searched refs:SkSVGIRI (Results 1 – 17 of 17) sorted by relevance

/external/skia/modules/svg/src/
DSkSVGImage.cpp22 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", n, v)) || in parseAndSetAttribute()
35 const SkSVGIRI& href) { in LoadImage()
40 case SkSVGIRI::Type::kDataURI: in LoadImage()
43 case SkSVGIRI::Type::kNonlocal: { in LoadImage()
58 const SkSVGIRI& iri, in LoadImage()
DSkSVGAttributeParser.cpp280 bool SkSVGAttributeParser::parse(SkSVGIRI* iri) { in parse()
284 SkSVGIRI::Type iriType; in parse()
286 iriType = SkSVGIRI::Type::kLocal; in parse()
288 iriType = SkSVGIRI::Type::kDataURI; in parse()
290 iriType = SkSVGIRI::Type::kNonlocal; in parse()
298 *iri = SkSVGIRI(iriType, SkString(start, fCurPos - start)); in parse()
305 SkSVGIRI iri; in parseFuncIRI()
DSkSVGFeImage.cpp17 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", n, v)) || in parseAndSetAttribute()
DSkSVGUse.cpp24 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", n, v)); in parseAndSetAttribute()
DSkSVGPattern.cpp25 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)); in parseAndSetAttribute()
DSkSVGGradient.cpp18 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)) || in parseAndSetAttribute()
DSkSVGRenderContext.cpp193 SkSVGRenderContext::BorrowedNode SkSVGRenderContext::findNodeById(const SkSVGIRI& iri) const { in findNodeById()
194 if (iri.type() != SkSVGIRI::Type::kLocal) { in findNodeById()
DSkSVGDOM.cpp57 auto parseResult = SkSVGAttributeParser::parse<SkSVGIRI>(stringValue); in SetIRIAttribute()
DSkSVGText.cpp659 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)) || in parseAndSetAttribute()
/external/skia/modules/svg/include/
DSkSVGImage.h38 const SkSVGIRI&,
46 SVG_ATTR(Href , SkSVGIRI , SkSVGIRI())
DSkSVGTypes.h137 class SkSVGIRI {
145 SkSVGIRI() : fType(Type::kLocal) {} in SkSVGIRI() function
146 SkSVGIRI(Type t, const SkSVGStringType& iri) : fType(t), fIRI(iri) {} in SkSVGIRI() function
151 bool operator==(const SkSVGIRI& other) const {
154 bool operator!=(const SkSVGIRI& other) const { return !(*this == other); }
197 SkSVGPaint(const SkSVGIRI& iri, const SkSVGColor& fallback_color) in SkSVGPaint()
213 const SkSVGIRI& iri() const { SkASSERT(fType == Type::kIRI); return fIRI; } in iri()
220 SkSVGIRI fIRI;
233 explicit SkSVGFuncIRI(SkSVGIRI&& iri) : fType(Type::kIRI), fIRI(std::move(iri)) {} in SkSVGFuncIRI()
241 const SkSVGIRI& iri() const { SkASSERT(fType == Type::kIRI); return fIRI; } in iri()
[all …]
DSkSVGFeImage.h18 SVG_ATTR(Href , SkSVGIRI , SkSVGIRI())
DSkSVGUse.h26 SVG_ATTR(Href, SkSVGIRI , SkSVGIRI())
DSkSVGPattern.h22 SVG_ATTR(Href, SkSVGIRI, SkSVGIRI())
DSkSVGGradient.h21 SVG_ATTR(Href, SkSVGIRI, SkSVGIRI()) in SVG_ATTR() argument
DSkSVGText.h110 SVG_ATTR(Href , SkSVGIRI , {} )
DSkSVGRenderContext.h123 BorrowedNode findNodeById(const SkSVGIRI&) const;