Home
last modified time | relevance | path

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

/external/skia/src/svg/
DSkSVGPaintState.cpp23 SkSVGAttribute SkSVGPaint::gAttributes[] = {
47 const int SkSVGPaint::kAttributesSize = SK_ARRAY_COUNT(SkSVGPaint::gAttributes);
49 SkSVGPaint::SkSVGPaint() : fNext(NULL) { in SkSVGPaint() function in SkSVGPaint
52 SkString* SkSVGPaint::operator[](int index) { in operator []()
60 void SkSVGPaint::addAttribute(SkSVGParser& parser, int attrIndex, in addAttribute()
109 bool SkSVGPaint::flush(SkSVGParser& parser, bool isFlushable, bool isDef) { in flush()
110 SkSVGPaint current; in flush()
111 SkSVGPaint* walking = parser.fHead; in flush()
125 SkSVGPaint& lastState = parser.fLastFlush; in flush()
195 int SkSVGPaint::getAttributes(const SkSVGAttribute** attrPtr) { in getAttributes()
[all …]
DSkSVGParser.cpp55 for (int index = SkSVGPaint::kInitial + 1; index < SkSVGPaint::kTerminal; index++) { in SkSVGParser()
116 SkString& SkSVGParser::getPaintLast(SkSVGPaint::Field field) { in getPaintLast()
117 SkSVGPaint* state = fHead; in getPaintLast()
130 bool SkSVGParser::isStrokeAndFill( SkSVGPaint** strokeState, SkSVGPaint** fillState) { in isStrokeAndFill()
131 SkSVGPaint* walking = fHead; in isStrokeAndFill()
235 SkSVGPaint::Push(&fHead, &element->fPaintState); in translate()
242 SkSVGPaint* strokeState = NULL, * fillState = NULL; in translate()
269 SkSVGPaint::Pop(&fHead); in translate()
DSkSVGStop.cpp30 parser._addAttribute("color", parser.getPaintLast(SkSVGPaint::kStopColor)); in DEFINE_SVG_INFO()
DSkSVGPath.cpp39 SkString& fillRule = parser.getPaintLast(SkSVGPaint::kFillRule); in DEFINE_SVG_INFO()
DSkSVGElements.h72 SkSVGPaint fPaintState;
DSkSVGGradient.cpp90 SkSVGPaint* saveHead = parser.fHead; in write()
/external/skia/include/svg/
DSkSVGPaintState.h23 class SkSVGPaint : public SkSVGBase {
51 SkSVGPaint();
56 static void Push(SkSVGPaint** head, SkSVGPaint* add);
57 static void Pop(SkSVGPaint** head);
89 bool writeChangedAttributes(SkSVGParser& , SkSVGPaint& , bool* changed);
90 bool writeChangedElements(SkSVGParser& , SkSVGPaint& , bool* changed);
91 SkSVGPaint* fNext;
93 typedef SkSVGPaint BASE_CLASS;
DSkSVGParser.h47 SkString& getPaintLast(SkSVGPaint::Field field);
60 bool isStrokeAndFill(SkSVGPaint** stroke, SkSVGPaint** fill);
64 SkSVGPaint* fHead;
65 SkSVGPaint fEmptyPaint;
66 SkSVGPaint fLastFlush;
77 friend class SkSVGPaint; variable