Home
last modified time | relevance | path

Searched refs:fDom (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/samplecode/
DSampleSVGFile.cpp37 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
38 if (fDom) { in onOnceBeforeDraw()
39 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
44 if (fDom) { in onDrawContent()
45 fDom->render(canvas); in onDrawContent()
50 if (fDom) { in onSizeChange()
51 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
60 sk_sp<SkSVGDOM> fDom; member in __anon146d86280111::SVGFileView
DSampleCowboy.cpp31 sk_sp<SkSVGDOM> fDom; member in __anon4b7921ab0111::AnimatedSVGSample
51 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
52 if (fDom) { in onOnceBeforeDraw()
53 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
58 if (fDom) { in onDrawContent()
81 fDom->render(canvas); in onDrawContent()
86 if (fDom) { in onSizeChange()
87 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
94 if (!fDom) { in onAnimate()
/third_party/skia/tools/viewer/
DSvgSlide.cpp39 fDom = SkSVGDOM::Builder().setResourceProvider(std::move(rp)).make(*stream); in load()
40 if (fDom) { in load()
41 fDom->setContainerSize(fWinSize); in load()
46 fDom.reset(); in unload()
51 if (fDom) { in resize()
52 fDom->setContainerSize(fWinSize); in resize()
62 if (fDom) { in draw()
63 fDom->render(canvas); in draw()
DSvgSlide.h30 sk_sp<SkSVGDOM> fDom; variable
/third_party/flutter/skia/samplecode/
DSampleSVGFile.cpp42 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
43 if (fDom) { in onOnceBeforeDraw()
44 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
49 if (fDom) { in onDrawContent()
50 fDom->render(canvas); in onDrawContent()
55 if (fDom) { in onSizeChange()
56 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
65 sk_sp<SkSVGDOM> fDom; member in __anonef19665d0111::SVGFileView
DSampleCowboy.cpp30 sk_sp<SkSVGDOM> fDom; member in __anon695f4f400111::AnimatedSVGSample
56 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
57 if (fDom) { in onOnceBeforeDraw()
58 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
63 if (fDom) { in onDrawContent()
86 fDom->render(canvas); in onDrawContent()
91 if (fDom) { in onSizeChange()
92 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
99 if (!fDom) { in onAnimate()
/third_party/flutter/skia/tools/viewer/
DSvgSlide.cpp25 fDom = SkSVGDOM::MakeFromStream(*svgStream); in load()
26 if (fDom) { in load()
27 fDom->setContainerSize(fWinSize); in load()
33 fDom.reset(); in unload()
42 if (fDom) { in draw()
43 fDom->render(canvas); in draw()
DSvgSlide.h29 sk_sp<SkSVGDOM> fDom; variable
/third_party/skia/experimental/skrive/src/reader/
DJsonReader.cpp59 : fDom(std::move(dom)) { in JsonReader()
60 fContextStack.push_back({&fDom->root(), 0}); in JsonReader()
245 const std::unique_ptr<skjson::DOM> fDom; member in skrive::internal::__anon4d905d300111::JsonReader
/third_party/flutter/skia/dm/
DDMSrcSink.cpp1194 fDom = SkSVGDOM::MakeFromStream(stream); in SVGSrc()
1195 if (!fDom) { in SVGSrc()
1199 const SkSize& sz = fDom->containerSize(); in SVGSrc()
1202 fDom->setContainerSize(kDefaultSVGSize); in SVGSrc()
1210 if (!fDom) { in draw()
1216 fDom->render(canvas); in draw()
1222 if (!fDom) { in size()
1226 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale} in size()
DDMSrcSink.h294 sk_sp<SkSVGDOM> fDom; variable
/third_party/skia/dm/
DDMSrcSink.cpp1337 fDom = SkSVGDOM::Builder().setResourceProvider(std::move(rp)) in SVGSrc()
1339 if (!fDom) { in SVGSrc()
1343 const SkSize& sz = fDom->containerSize(); in SVGSrc()
1346 fDom->setContainerSize(kDefaultSVGSize); in SVGSrc()
1354 if (!fDom) { in draw()
1361 fDom->render(canvas); in draw()
1367 if (!fDom) { in size()
1371 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale} in size()
DDMSrcSink.h350 sk_sp<SkSVGDOM> fDom; variable