Home
last modified time | relevance | path

Searched refs:SkSVGElement (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/svg/parser/
DSkSVGElements.cpp18 SkString* first = (SkString*) ((char*) this + sizeof(SkSVGElement)); in addAttribute()
24 SkSVGElement::SkSVGElement() : fParent(nullptr), fIsDef(false), fIsNotDef(true) { in SkSVGElement() function in SkSVGElement
27 SkSVGElement::~SkSVGElement() { in ~SkSVGElement()
30 SkSVGElement* SkSVGElement::getGradient() { in getGradient()
34 bool SkSVGElement::isGroupParent() { in isGroupParent()
35 SkSVGElement* parent = fParent; in isGroupParent()
44 bool SkSVGElement::isDef() { in isDef()
48 bool SkSVGElement::isFlushable() { in isFlushable()
52 bool SkSVGElement::isGroup() { in isGroup()
56 bool SkSVGElement::isNotDef() { in isNotDef()
[all …]
DSkSVGElements.h47 class SkSVGElement : public SkSVGBase {
49 SkSVGElement();
50 virtual ~SkSVGElement();
51 virtual SkSVGElement* getGradient();
58 virtual bool onStartElement(SkSVGElement* child);
65 SkTDArray<SkSVGElement*> fChildren;
66 SkSVGElement* fParent;
DSkSVGParser.cpp60 void SkSVGParser::Delete(SkTDArray<SkSVGElement*>& fChildren) { in Delete()
61 SkSVGElement** ptr; in Delete()
76 (isPaint ? sizeof(SkString) : sizeof(SkSVGElement))) / sizeof(SkString)); in findAttribute()
89 SkSVGElement** ptr;
91 SkSVGElement* element = *ptr;
101 SkSVGElement* element = *ptr;
180 SkSVGElement* element = fParents[parentIndex]; in onEndElement()
205 SkSVGElement* parent = fParents.count() > 0 ? fParents.top() : nullptr; in onStartElementLen()
206 SkSVGElement* element = CreateElement(type, parent); in onStartElementLen()
232 void SkSVGParser::translate(SkSVGElement* element, bool isDef) { in translate()
[all …]
DSkSVGGroup.cpp17 SkSVGElement* SkSVGGroup::getGradient() { in getGradient()
18 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in getGradient()
19 SkSVGElement* result = (*ptr)->getGradient(); in getGradient()
43 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) in translate()
DSkSVGGroup.h15 class SkSVGGroup : public SkSVGElement {
18 virtual SkSVGElement* getGradient();
25 typedef SkSVGElement INHERITED;
DSkSVGGradient.cpp17 SkSVGElement* SkSVGGradient::getGradient() { in getGradient()
37 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in translate()
68 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) in translate()
89 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in write()
105 for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in write()
DSkSVGGradient.h15 class SkSVGGradient : public SkSVGElement {
18 virtual SkSVGElement* getGradient();
26 typedef SkSVGElement INHERITED;
DSkSVGPath.h15 class SkSVGPath : public SkSVGElement {
19 typedef SkSVGElement INHERITED;
DSkSVGSymbol.h15 class SkSVGSymbol : public SkSVGElement {
19 typedef SkSVGElement INHERITED;
DSkSVGMetadata.h15 class SkSVGMetadata : public SkSVGElement {
20 typedef SkSVGElement INHERITED;
DSkSVGClipPath.h15 class SkSVGClipPath : public SkSVGElement {
20 typedef SkSVGElement INHERITED;
DSkSVGStop.h15 class SkSVGStop : public SkSVGElement {
20 typedef SkSVGElement INHERITED;
DSkSVGCircle.h15 class SkSVGCircle : public SkSVGElement {
21 typedef SkSVGElement INHERITED;
DSkSVGEllipse.h15 class SkSVGEllipse : public SkSVGElement {
22 typedef SkSVGElement INHERITED;
DSkSVGLine.h15 class SkSVGLine : public SkSVGElement {
22 typedef SkSVGElement INHERITED;
DSkSVGFeColorMatrix.h15 class SkSVGFeColorMatrix : public SkSVGElement {
23 typedef SkSVGElement INHERITED;
DSkSVGRect.h15 class SkSVGRect : public SkSVGElement {
23 typedef SkSVGElement INHERITED;
DSkSVGFilter.h15 class SkSVGFilter : public SkSVGElement {
24 typedef SkSVGElement INHERITED;
DSkSVGPolyline.h16 class SkSVGPolyline : public SkSVGElement {
24 typedef SkSVGElement INHERITED;
DSkSVGImage.h15 class SkSVGImage : public SkSVGElement {
25 typedef SkSVGElement INHERITED;
DSkSVGUse.h15 class SkSVGUse : public SkSVGElement {
24 typedef SkSVGElement INHERITED;
DSkSVGText.h15 class SkSVGText : public SkSVGElement {
22 typedef SkSVGElement INHERITED;
DSkSVGSVG.h15 class SkSVGSVG : public SkSVGElement {
31 typedef SkSVGElement INHERITED;
DSkSVGClipPath.cpp28 SkSVGElement* child = *fChildren.begin(); in translate()
31 SkSVGElement* ref = nullptr; in translate()
/external/skia/include/svg/parser/
DSkSVGParser.h23 class SkSVGElement; variable
38 SkTDict<SkSVGElement*>& getIDs() { return fIDs; } in getIDs()
41 void translate(SkSVGElement*, bool isDef);
53 static SkSVGElement* CreateElement(SkSVGTypes type, SkSVGElement* parent);
54 static void Delete(SkTDArray<SkSVGElement*>& fChildren);
61 SkTDArray<SkSVGElement*> fChildren;
62 SkTDict<SkSVGElement*> fIDs;
63 SkTDArray<SkSVGElement*> fParents;
66 SkSVGElement* fCurrElement;

12