Home
last modified time | relevance | path

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

12

/external/skia/modules/svg/src/
DSkSVGDOM.cpp55 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute()
66 bool SetStringAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetStringAttribute()
74 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute()
85 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute()
96 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute()
108 bool SetObjectBoundingBoxUnitsAttribute(const sk_sp<SkSVGNode>& node, in SetObjectBoundingBoxUnitsAttribute()
120 bool SetPreserveAspectRatioAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPreserveAspectRatioAttribute()
180 bool set_string_attribute(const sk_sp<SkSVGNode>& node, const char* name, const char* value);
182 bool SetStyleAttributes(const sk_sp<SkSVGNode>& node, SkSVGAttribute, in SetStyleAttributes()
206 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()
DSkSVGShape.cpp29 void SkSVGShape::appendChild(sk_sp<SkSVGNode>) { in appendChild() argument
/external/skqp/experimental/svg/model/
DSkSVGDOM.cpp38 bool SetPaintAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPaintAttribute()
50 bool SetColorAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetColorAttribute()
62 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute()
74 bool SetClipPathAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetClipPathAttribute()
87 bool SetPathDataAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPathDataAttribute()
98 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute()
110 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute()
122 bool SetNumberAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetNumberAttribute()
134 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute()
146 bool SetLineCapAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLineCapAttribute()
[all …]
DSkSVGNode.cpp16 SkSVGNode::SkSVGNode(SkSVGTag t) : fTag(t) { } in SkSVGNode() function in SkSVGNode
18 SkSVGNode::~SkSVGNode() { } in ~SkSVGNode()
20 void SkSVGNode::render(const SkSVGRenderContext& ctx) const { in render()
28 bool SkSVGNode::asPaint(const SkSVGRenderContext& ctx, SkPaint* paint) const { in asPaint()
34 SkPath SkSVGNode::asPath(const SkSVGRenderContext& ctx) const { in asPath()
50 bool SkSVGNode::onPrepareToRender(SkSVGRenderContext* ctx) const { in onPrepareToRender()
59 void SkSVGNode::setAttribute(SkSVGAttribute attr, const SkSVGValue& v) { in setAttribute()
63 void SkSVGNode::setClipPath(const SkSVGClip& clip) { in setClipPath()
67 void SkSVGNode::setClipRule(const SkSVGFillRule& clipRule) { in setClipRule()
71 void SkSVGNode::setFill(const SkSVGPaint& svgPaint) { in setFill()
[all …]
DSkSVGNode.h40 class SkSVGNode : public SkRefCnt {
42 virtual ~SkSVGNode();
46 virtual void appendChild(sk_sp<SkSVGNode>) = 0;
68 SkSVGNode(SkSVGTag);
DSkSVGDOM.h19 class SkSVGNode; variable
32 void setRoot(sk_sp<SkSVGNode>);
40 sk_sp<SkSVGNode> fRoot;
DSkSVGIDMapper.h15 class SkSVGNode; variable
17 using SkSVGIDMapper = SkTHashMap<SkString, sk_sp<SkSVGNode>>;
DSkSVGTransformableNode.h14 class SkSVGTransformableNode : public SkSVGNode {
33 typedef SkSVGNode INHERITED;
DSkSVGContainer.h18 void appendChild(sk_sp<SkSVGNode>) override;
30 SkSTArray<1, sk_sp<SkSVGNode>, true> fChildren;
DSkSVGShape.h21 void appendChild(sk_sp<SkSVGNode>) override;
DSkSVGShape.cpp26 void SkSVGShape::appendChild(sk_sp<SkSVGNode>) { in appendChild() argument
DSkSVGUse.h24 void appendChild(sk_sp<SkSVGNode>) override;
DSkSVGContainer.cpp15 void SkSVGContainer::appendChild(sk_sp<SkSVGNode> node) { in appendChild()
/external/skia/modules/svg/include/
DSkSVGRenderContext.h62 const SkSVGNode* fNode;
73 SkSVGRenderContext(const SkSVGRenderContext&, const SkSVGNode*);
92 explicit BorrowedNode(sk_sp<SkSVGNode>* node) in BorrowedNode()
106 const SkSVGNode* get() const { return fBorrowed.get(); } in get()
107 const SkSVGNode* operator->() const { return fBorrowed.get(); }
108 const SkSVGNode& operator*() const { return *fBorrowed; }
117 sk_sp<SkSVGNode>* fOwner;
118 sk_sp<SkSVGNode> fBorrowed;
DSkSVGIDMapper.h15 class SkSVGNode; variable
17 using SkSVGIDMapper = SkTHashMap<SkString, sk_sp<SkSVGNode>>;
DSkSVGTransformableNode.h14 class SkSVGTransformableNode : public SkSVGNode {
33 using INHERITED = SkSVGNode;
DSkSVGContainer.h16 void appendChild(sk_sp<SkSVGNode>) override;
30 SkSTArray<1, sk_sp<SkSVGNode>, true> fChildren;
DSkSVGDOM.h21 class SkSVGNode; variable
53 sk_sp<SkSVGNode>* findNodeById(const char* id);
DSkSVGNode.h95 class SkSVGNode : public SkRefCnt {
97 ~SkSVGNode() override;
101 virtual void appendChild(sk_sp<SkSVGNode>) = 0;
150 SkSVGNode(SkSVGTag);
DSkSVGText.h48 void appendChild(sk_sp<SkSVGNode>) final;
101 void appendChild(sk_sp<SkSVGNode>) override {} in appendChild() argument
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
/external/skia/modules/svg/
Dsvg.gni42 "$_include/SkSVGNode.h",
87 "$_src/SkSVGNode.cpp",

12