Searched refs:svgStream (Results 1 – 8 of 8) sorted by relevance
31 SkFILEStream svgStream(fPath.c_str()); in onOnceBeforeDraw() local32 if (!svgStream.isValid()) { in onOnceBeforeDraw()37 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
49 SkMemoryStream svgStream(std::move(data)); in onOnceBeforeDraw() local51 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
30 SkFILEStream svgStream(fPath.c_str()); in onOnceBeforeDraw() local31 if (!svgStream.isValid()) { in onOnceBeforeDraw()37 if (!xmlDom.build(svgStream)) { in onOnceBeforeDraw()
48 SkMemoryStream svgStream(std::move(data)); in onOnceBeforeDraw() local51 if (!xmlDom.build(svgStream)) { in onOnceBeforeDraw()
24 if (const auto svgStream = SkStream::MakeFromFile(fPath.c_str())) { in load() local25 fDom = SkSVGDOM::MakeFromStream(*svgStream); in load()
473 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromStream(SkStream& svgStream) { in MakeFromStream() argument475 if (!xmlDom.build(svgStream)) { in MakeFromStream()482 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromStream(SkStream& svgStream, uint64_t svgColor) { in MakeFromStream() argument484 if (!xmlDom.build(svgStream, svgColor)) { in MakeFromStream()
210 SkFILEWStream svgStream(path);212 new SkXMLStreamWriter(&svgStream));
218 SkFILEWStream svgStream(path);220 new SkXMLStreamWriter(&svgStream));