Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/experimental/svg/model/
DSkSVGDOM.h23 class SkSVGDOM : public SkRefCnt {
25 SkSVGDOM();
26 ~SkSVGDOM() = default;
28 static sk_sp<SkSVGDOM> MakeFromDOM(const SkSVGXMLDOM&);
29 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&);
30 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&, uint64_t svgColor);
DSkSVGDOM.cpp457 SkSVGDOM::SkSVGDOM() in SkSVGDOM() function in SkSVGDOM
461 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromDOM(const SkSVGXMLDOM& 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 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromStream(SkStream& svgStream, uint64_t svgColor) { in MakeFromStream()
491 void SkSVGDOM::render(SkCanvas* canvas) const { in render()
499 SkSize SkSVGDOM::intrinsicSize() const { in intrinsicSize()
509 const SkSize& SkSVGDOM::containerSize() const { in containerSize()
513 void SkSVGDOM::setContainerSize(const SkSize& containerSize) { in setContainerSize()
518 void SkSVGDOM::setRoot(sk_sp<SkSVGNode> root) { in setRoot()
/third_party/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()
/third_party/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()
85 SkSVGDOM(sk_sp<SkSVGSVG>, sk_sp<SkFontMgr>, sk_sp<skresources::ResourceProvider>,
/third_party/flutter/skia/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()
/third_party/skia/tools/viewer/
DSvgSlide.h13 class SkSVGDOM; variable
30 sk_sp<SkSVGDOM> fDom;
DSvgSlide.cpp39 fDom = SkSVGDOM::Builder().setResourceProvider(std::move(rp)).make(*stream); in load()
/third_party/skia/fuzz/oss_fuzz/
DFuzzSVG.cpp21 sk_sp<SkSVGDOM> dom = SkSVGDOM::MakeFromStream(stream); in FuzzSVG()
/third_party/flutter/engine/flutter/flow/layers/
Dmask_layer.h20 MaskLayer(double x, double y, double scaleX, double scaleY, const sk_sp<SkSVGDOM>& svgDom) in MaskLayer()
36 sk_sp<SkSVGDOM> svgDom_;
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dmask_layer.h24 MaskLayer(double x, double y, double scaleX, double scaleY, const sk_sp<SkSVGDOM>& svgDom) in MaskLayer()
42 sk_sp<SkSVGDOM> svgDom_;
Dlayer_tree_builder.h50 … void PushSvgMask(const sk_sp<SkSVGDOM>& svgDom, double x, double y, double scaleX, double scaleY);
/third_party/skia/samplecode/
DSampleSVGFile.cpp37 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
60 sk_sp<SkSVGDOM> fDom;
DSampleCowboy.cpp31 sk_sp<SkSVGDOM> fDom;
51 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
/third_party/flutter/skia/samplecode/
DSampleSVGFile.cpp42 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
65 sk_sp<SkSVGDOM> fDom;
DSampleCowboy.cpp30 sk_sp<SkSVGDOM> fDom;
56 fDom = SkSVGDOM::MakeFromDOM(xmlDom); in onOnceBeforeDraw()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.h37 class SkSVGDOM; variable
147 mutable sk_sp<SkSVGDOM> fSvg;
/third_party/skia/tools/fonts/
DTestSVGTypeface.h37 class SkSVGDOM; variable
152 mutable sk_sp<SkSVGDOM> fSvg;
/third_party/skia/modules/svg/
Dsvg.gni17 "$_include/SkSVGDOM.h",
65 "$_src/SkSVGDOM.cpp",
/third_party/skia/modules/svg/utils/
DSvgTool.cpp49 auto svg_dom = SkSVGDOM::Builder() in main()
/third_party/flutter/skia/tools/fm/
Dfm.cpp163 static void init(Source* source, sk_sp<SkSVGDOM> svg) { in init()
398 if (sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(stream)) { in main()
/third_party/skia/modules/canvaskit/
DBUILD.gn15 "../../modules/svg/src/SkSVGDOM.cpp",
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_builder.h70 …fml::RefPtr<EngineLayer> PushSvgMask(const sk_sp<SkSVGDOM>& svgDom, double x, double y, double sca…
/third_party/skia/tools/fm/
Dfm.cpp194 static void init(Source* source, sk_sp<SkSVGDOM> svg) { in init()
467 if (sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(stream)) { in main()

12