Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleSVGFile.cpp39 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
40 if (fDom) { in onOnceBeforeDraw()
41 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
46 if (fDom) { in onDrawContent()
47 fDom->render(canvas); in onDrawContent()
52 if (fDom) { in onSizeChange()
53 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
68 sk_sp<SkSVGDOM> fDom; member in __anonb7349fd60111::SVGFileView
DSampleSVGPong.cpp139 fDom = sk_sp<SkSVGDOM>(new SkSVGDOM()); in onOnceBeforeDraw()
140 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onOnceBeforeDraw()
141 fDom->setRoot(std::move(root)); in onOnceBeforeDraw()
170 if (fDom) { in onSizeChange()
171 fDom->setContainerSize(SkSize::Make(this->width(), this->height())); in onSizeChange()
178 fDom->render(canvas); in onDrawContent()
276 sk_sp<SkSVGDOM> fDom; member in SVGPongView
/external/skia/dm/
DDMSrcSink.cpp1196 fDom = SkSVGDOM::MakeFromStream(stream); in SVGSrc()
1197 if (!fDom) { in SVGSrc()
1201 const SkSize& sz = fDom->containerSize(); in SVGSrc()
1204 fDom->setContainerSize(kDefaultSVGSize); in SVGSrc()
1212 if (!fDom) { in draw()
1218 fDom->render(canvas); in draw()
1224 if (!fDom) { in size()
1228 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale} in size()
DDMSrcSink.h269 sk_sp<SkSVGDOM> fDom; variable