Searched refs:curAttr (Results 1 – 1 of 1) sorted by relevance
2623 NSVGattrib* curAttr = nsvg__getAttr(p); in nsvg__parseGradientStop() local2628 curAttr->stopOffset = 0; in nsvg__parseGradientStop()2629 curAttr->stopColor = 0; in nsvg__parseGradientStop()2630 curAttr->stopOpacity = 1.0f; in nsvg__parseGradientStop()2647 if (curAttr->stopOffset < grad->stops[i].offset) { in nsvg__parseGradientStop()2658 stop->color = curAttr->stopColor; in nsvg__parseGradientStop()2659 stop->color |= (unsigned int)(curAttr->stopOpacity*255) << 24; in nsvg__parseGradientStop()2660 stop->offset = curAttr->stopOffset; in nsvg__parseGradientStop()