Home
last modified time | relevance | path

Searched refs:SkSVGDOM (Results 1 – 25 of 35) sorted by relevance

12

/external/skqp/experimental/svg/model/
DSkSVGDOM.h21 class SkSVGDOM : public SkRefCnt {
23 SkSVGDOM();
24 ~SkSVGDOM() = default;
26 static sk_sp<SkSVGDOM> MakeFromDOM(const SkDOM&);
27 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&);
DSkSVGDOM.cpp457 SkSVGDOM::SkSVGDOM() in SkSVGDOM() function in SkSVGDOM
461 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromDOM(const SkDOM& xmlDom) { in MakeFromDOM()
462 sk_sp<SkSVGDOM> dom = sk_make_sp<SkSVGDOM>(); in MakeFromDOM()
473 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromStream(SkStream& svgStream) { in MakeFromStream()
482 void SkSVGDOM::render(SkCanvas* canvas) const { in render()
490 SkSize SkSVGDOM::intrinsicSize() const { in intrinsicSize()
500 const SkSize& SkSVGDOM::containerSize() const { in containerSize()
504 void SkSVGDOM::setContainerSize(const SkSize& containerSize) { in setContainerSize()
509 void SkSVGDOM::setRoot(sk_sp<SkSVGNode> root) { in setRoot()
/external/skia/modules/svg/include/
DSkSVGDOM.h24 class SkSVGDOM : public SkRefCnt {
38 sk_sp<SkSVGDOM> make(SkStream&) const;
45 static sk_sp<SkSVGDOM> MakeFromStream(SkStream& str) { in MakeFromStream()
58 SkSVGDOM(sk_sp<SkSVGSVG>, sk_sp<SkFontMgr>, sk_sp<skresources::ResourceProvider>,
/external/skia/modules/svg/src/
DSkSVGDOM.cpp388 SkSVGDOM::Builder& SkSVGDOM::Builder::setFontManager(sk_sp<SkFontMgr> fmgr) { in setFontManager()
393 SkSVGDOM::Builder& SkSVGDOM::Builder::setResourceProvider(sk_sp<skresources::ResourceProvider> rp) { in setResourceProvider()
398 sk_sp<SkSVGDOM> SkSVGDOM::Builder::make(SkStream& str) const { in make()
420 return sk_sp<SkSVGDOM>(new SkSVGDOM(sk_sp<SkSVGSVG>(static_cast<SkSVGSVG*>(root.release())), in make()
425 SkSVGDOM::SkSVGDOM(sk_sp<SkSVGSVG> root, sk_sp<SkFontMgr> fmgr, in SkSVGDOM() function in SkSVGDOM
436 void SkSVGDOM::render(SkCanvas* canvas) const { in render()
446 const SkSize& SkSVGDOM::containerSize() const { in containerSize()
450 void SkSVGDOM::setContainerSize(const SkSize& containerSize) { in setContainerSize()
455 sk_sp<SkSVGNode>* SkSVGDOM::findNodeById(const char* id) { in findNodeById()
/external/skqp/tools/viewer/
DSvgSlide.h13 class SkSVGDOM; variable
29 sk_sp<SkSVGDOM> fDom;
DBisectSlide.cpp36 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromDOM(xml); in Create()
DSvgSlide.cpp25 fDom = SkSVGDOM::MakeFromStream(*svgStream); in load()
/external/skia/tools/viewer/
DSvgSlide.h13 class SkSVGDOM; variable
30 sk_sp<SkSVGDOM> fDom;
DBisectSlide.cpp31 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(stream); in Create()
DSvgSlide.cpp38 fDom = SkSVGDOM::Builder().setResourceProvider(std::move(rp)).make(*stream); in load()
/external/skia/fuzz/oss_fuzz/
DFuzzSVG.cpp18 sk_sp<SkSVGDOM> dom = SkSVGDOM::MakeFromStream(stream); in FuzzSVG()
/external/skia/samplecode/
DSampleSVGFile.cpp36 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
59 sk_sp<SkSVGDOM> fDom;
DSampleCowboy.cpp30 sk_sp<SkSVGDOM> fDom;
50 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
/external/skqp/samplecode/
DSampleSVGFile.cpp42 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
71 sk_sp<SkSVGDOM> fDom;
DSampleCowboy.cpp57 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
135 sk_sp<SkSVGDOM> fDom;
/external/skqp/tools/fonts/
DSkTestSVGTypeface.h34 class SkSVGDOM; variable
132 sk_sp<SkSVGDOM> fSvg;
/external/skia/tools/fonts/
DTestSVGTypeface.h37 class SkSVGDOM; variable
148 mutable sk_sp<SkSVGDOM> fSvg;
/external/skia/modules/svg/
Dsvg.gni17 "$_include/SkSVGDOM.h",
65 "$_src/SkSVGDOM.cpp",
/external/skia/modules/svg/utils/
DSvgTool.cpp49 auto svg_dom = SkSVGDOM::Builder() in main()
/external/skia/modules/canvaskit/
DBUILD.gn15 "../../modules/svg/src/SkSVGDOM.cpp",
/external/toolchain-utils/android_bench_suite/
Dskia_internal.diff38 #include "SkSVGDOM.h"
/external/skia/tools/fm/
Dfm.cpp189 static void init(Source* source, sk_sp<SkSVGDOM> svg) { in init()
459 if (sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(stream)) { in main()
/external/skqp/tools/skpbench/
Dskpbench.cpp518 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromDOM(xml); in create_skp_from_svg()
/external/skqp/dm/
DDMSrcSink.h292 class SkSVGDOM; variable
307 sk_sp<SkSVGDOM> fDom;
/external/skia/dm/
DDMSrcSink.h332 class SkSVGDOM; variable
347 sk_sp<SkSVGDOM> fDom;

12