Home
last modified time | relevance | path

Searched refs:SkSVGNode (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/modules/svg/src/
DSkSVGDOM.cpp56 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute()
67 bool SetStringAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetStringAttribute()
75 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute()
86 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute()
97 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute()
109 bool SetObjectBoundingBoxUnitsAttribute(const sk_sp<SkSVGNode>& node, in SetObjectBoundingBoxUnitsAttribute()
121 bool SetPreserveAspectRatioAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPreserveAspectRatioAttribute()
181 bool set_string_attribute(const sk_sp<SkSVGNode>& node, const char* name, const char* value);
183 bool SetStyleAttributes(const sk_sp<SkSVGNode>& node, SkSVGAttribute, in SetStyleAttributes()
207 bool (*fSetter)(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, const char* stringValue);
[all …]
DSkSVGNode.cpp17 SkSVGNode::SkSVGNode(SkSVGTag t) : fTag(t) { in SkSVGNode() function in SkSVGNode
26 SkSVGNode::~SkSVGNode() { } in ~SkSVGNode()
28 void SkSVGNode::render(const SkSVGRenderContext& ctx) const { in render()
36 bool SkSVGNode::asPaint(const SkSVGRenderContext& ctx, SkPaint* paint) const { in asPaint()
42 SkPath SkSVGNode::asPath(const SkSVGRenderContext& ctx) const { in asPath()
58 SkRect SkSVGNode::objectBoundingBox(const SkSVGRenderContext& ctx) const { in objectBoundingBox()
62 bool SkSVGNode::onPrepareToRender(SkSVGRenderContext* ctx) const { in onPrepareToRender()
75 void SkSVGNode::setAttribute(SkSVGAttribute attr, const SkSVGValue& v) { in setAttribute()
90 bool SkSVGNode::parseAndSetAttribute(const char* n, const char* v) { in parseAndSetAttribute()
132 SkMatrix SkSVGNode::ComputeViewboxMatrix(const SkRect& viewBox, in ComputeViewboxMatrix()
DSkSVGContainer.cpp15 void SkSVGContainer::appendChild(sk_sp<SkSVGNode> node) { in appendChild()
20 std::vector<sk_sp<SkSVGNode>> SkSVGContainer::getChild() { in getChild()
21 std::vector<sk_sp<SkSVGNode>> res; in getChild()
DSkSVGShape.cpp29 void SkSVGShape::appendChild(sk_sp<SkSVGNode>) { in appendChild() argument
DSkSVGUse.cpp16 void SkSVGUse::appendChild(sk_sp<SkSVGNode>) { in appendChild() argument
DSkSVGText.cpp490 void SkSVGTextContainer::appendChild(sk_sp<SkSVGNode> child) { in appendChild()
505 std::vector<sk_sp<SkSVGNode>> SkSVGTextContainer::getChild() { in getChild()
506 std::vector<sk_sp<SkSVGNode>> res; in getChild()
DSkSVGRenderContext.cpp213 SkSVGRenderContext::SkSVGRenderContext(const SkSVGRenderContext& other, const SkSVGNode* node) in SkSVGRenderContext()
/third_party/skia/modules/svg/include/
DSkSVGRenderContext.h68 const SkSVGNode* fNode;
79 SkSVGRenderContext(const SkSVGRenderContext&, const SkSVGNode*);
98 explicit BorrowedNode(sk_sp<SkSVGNode>* node) in BorrowedNode()
115 const SkSVGNode* get() const { return fBorrowed.get(); } in get()
116 const SkSVGNode* operator->() const { return fBorrowed.get(); }
117 const SkSVGNode& operator*() const { return *fBorrowed; }
126 sk_sp<SkSVGNode>* fOwner;
127 sk_sp<SkSVGNode> fBorrowed;
DSkSVGContainer.h16 void appendChild(sk_sp<SkSVGNode>) override;
17 std::vector<sk_sp<SkSVGNode>> getChild() override;
31 SkSTArray<1, sk_sp<SkSVGNode>, true> fChildren;
DSkSVGNode.h95 class SK_API SkSVGNode : public SkRefCnt {
97 ~SkSVGNode() override;
101 virtual void appendChild(sk_sp<SkSVGNode>) = 0;
102 virtual std::vector<sk_sp<SkSVGNode>> getChild() { in getChild()
103 std::vector<sk_sp<SkSVGNode>> res; in getChild()
154 SkSVGNode(SkSVGTag);
DSkSVGIDMapper.h15 class SkSVGNode; variable
17 using SkSVGIDMapper = SkTHashMap<SkString, sk_sp<SkSVGNode>>;
DSkSVGTransformableNode.h14 class SkSVGTransformableNode : public SkSVGNode {
33 using INHERITED = SkSVGNode;
DSkSVGText.h48 void appendChild(sk_sp<SkSVGNode>) final;
49 std::vector<sk_sp<SkSVGNode>> getChild() final;
102 void appendChild(sk_sp<SkSVGNode>) override {} in appendChild() argument
DSkSVGDOM.h21 class SkSVGNode; variable
86 sk_sp<SkSVGNode>* findNodeById(const char* id);
DSkSVGShape.h19 void appendChild(sk_sp<SkSVGNode>) override;
DSkSVGUse.h22 void appendChild(sk_sp<SkSVGNode>) override;
DSkSVGImage.h24 void appendChild(sk_sp<SkSVGNode>) override { in appendChild() argument
DSkSVGFe.h20 static bool IsFilterEffect(const sk_sp<SkSVGNode>& node) { in IsFilterEffect()
DSkSVGFeLightSource.h17 void appendChild(sk_sp<SkSVGNode>) final { in appendChild() argument
/third_party/skia/modules/svg/
Dsvg.gni43 "$_include/SkSVGNode.h",
90 "$_src/SkSVGNode.cpp",
/third_party/skia/modules/canvaskit/
DBUILD.gn26 "../../modules/svg/src/SkSVGNode.cpp",