Home
last modified time | relevance | path

Searched refs:SkSVGPaint (Results 1 – 8 of 8) sorted by relevance

/external/skia/include/svg/parser/
DSkSVGPaintState.h16 class SkSVGPaint : public SkSVGBase {
44 SkSVGPaint();
49 static void Push(SkSVGPaint** head, SkSVGPaint* add);
50 static void Pop(SkSVGPaint** head);
82 bool writeChangedAttributes(SkSVGParser& , SkSVGPaint& , bool* changed);
83 bool writeChangedElements(SkSVGParser& , SkSVGPaint& , bool* changed);
84 SkSVGPaint* fNext;
86 typedef SkSVGPaint BASE_CLASS;
DSkSVGParser.h39 SkString& getPaintLast(SkSVGPaint::Field field);
52 bool isStrokeAndFill(SkSVGPaint** stroke, SkSVGPaint** fill);
56 SkSVGPaint* fHead;
57 SkSVGPaint fEmptyPaint;
58 SkSVGPaint fLastFlush;
69 friend class SkSVGPaint; variable
/external/skia/src/svg/parser/
DSkSVGPaintState.cpp15 SkSVGAttribute SkSVGPaint::gAttributes[] = {
39 const int SkSVGPaint::kAttributesSize = SK_ARRAY_COUNT(SkSVGPaint::gAttributes);
41 SkSVGPaint::SkSVGPaint() : fNext(nullptr) { in SkSVGPaint() function in SkSVGPaint
44 SkString* SkSVGPaint::operator[](int index) { in operator []()
52 void SkSVGPaint::addAttribute(SkSVGParser& parser, int attrIndex, in addAttribute()
101 bool SkSVGPaint::flush(SkSVGParser& parser, bool isFlushable, bool isDef) { in flush()
102 SkSVGPaint current; in flush()
103 SkSVGPaint* walking = parser.fHead; in flush()
117 SkSVGPaint& lastState = parser.fLastFlush; in flush()
187 int SkSVGPaint::getAttributes(const SkSVGAttribute** attrPtr) { in getAttributes()
[all …]
DSkSVGParser.cpp49 for (int index = SkSVGPaint::kInitial + 1; index < SkSVGPaint::kTerminal; index++) { in SkSVGParser()
112 SkString& SkSVGParser::getPaintLast(SkSVGPaint::Field field) { in getPaintLast()
113 SkSVGPaint* state = fHead; in getPaintLast()
126 bool SkSVGParser::isStrokeAndFill( SkSVGPaint** strokeState, SkSVGPaint** fillState) { in isStrokeAndFill()
127 SkSVGPaint* walking = fHead; in isStrokeAndFill()
233 SkSVGPaint::Push(&fHead, &element->fPaintState); in translate()
240 SkSVGPaint* strokeState = nullptr, * fillState = nullptr; in translate()
267 SkSVGPaint::Pop(&fHead); in translate()
DSkSVGStop.cpp22 parser._addAttribute("color", parser.getPaintLast(SkSVGPaint::kStopColor)); in DEFINE_SVG_INFO()
DSkSVGPath.cpp31 SkString& fillRule = parser.getPaintLast(SkSVGPaint::kFillRule); in DEFINE_SVG_INFO()
DSkSVGElements.h64 SkSVGPaint fPaintState;
DSkSVGGradient.cpp82 SkSVGPaint* saveHead = parser.fHead; in write()