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 __anon2ad469170111::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.cpp1147 fDom = SkSVGDOM::MakeFromStream(stream); in SVGSrc()
1148 if (!fDom) { in SVGSrc()
1152 const SkSize& sz = fDom->containerSize(); in SVGSrc()
1155 fDom->setContainerSize(kDefaultSVGSize); in SVGSrc()
1163 if (!fDom) { in draw()
1169 fDom->render(canvas); in draw()
1175 if (!fDom) { in size()
1179 return SkSize::Make(fDom->containerSize().width() * fScale, in size()
1180 fDom->containerSize().height() * fScale).toRound(); in size()
DDMSrcSink.h270 sk_sp<SkSVGDOM> fDom; variable