Home | History | Annotate | Download | only in svg

Lines Matching full:current

102     SkSVGPaint current;
110 if (current[index]->size() > 0)
112 current[index]->set(*lastAttr);
120 if (current.f_mask.size() > 0 && current.f_mask.equals(lastState.f_mask) == false) {
122 const char* idStart = strchr(current.f_mask.c_str(), '#');
129 gradient->write(parser, current.f_fill);
130 gradient->write(parser, current.f_stroke);
144 SkString* currentAttr = current[index];
148 if (current.f_mask.size() > 0) {
149 if (current.f_fill.equals("none") == false && strncmp(current.f_fill.c_str(), "url(#", 5) != 0) {
150 SkASSERT(current.f_fill.c_str()[0] == '#');
152 replacement.append(current.f_fill.c_str() + 1);
154 current.f_fill.set(replacement);
156 if (current.f_stroke.equals("none") == false && strncmp(current.f_stroke.c_str(), "url(#", 5) != 0) {
157 SkASSERT(current.f_stroke.c_str()[0] == '#');
159 replacement.append(current.f_stroke.c_str() + 1);
161 current.f_stroke.set(replacement);
164 if (current.f_fill.equals("none") && current.f_stroke.equals("none"))
165 current.f_opacity.set("0");
168 bool success = writeChangedAttributes(parser, current, changed);
171 success = writeChangedElements(parser, current, changed);
181 SkString* currentAttr = current[index];
262 const char* start = strchr(current->f_clipPath.c_str(), '#') + 1;
271 SkSVGPaint& current, bool* changed) {
276 SkString* topAttr = current[index];
354 SkSVGPaint& current, bool* changed) {
357 SkString* topAttr = current[index];
388 SkString& opacity = current.f_opacity;
418 SkString& opacity = current.f_opacity;