Searched refs:stopColor (Results 1 – 2 of 2) sorted by relevance
305 rgb_color stopColor; in _AddShape() local306 stopColor.red = paint->gradient->stops[i].color & 0xFF; in _AddShape()307 stopColor.green = (paint->gradient->stops[i].color >> 8) & 0xFF; in _AddShape()308 stopColor.blue = (paint->gradient->stops[i].color >> 16) & 0xFF; in _AddShape()309 stopColor.alpha = (paint->gradient->stops[i].color >> 24) & 0xFF; in _AddShape()310 gradient.AddColor(stopColor, paint->gradient->stops[i].offset); in _AddShape()
436 unsigned int stopColor; member1774 attr->stopColor = nsvg__parseColor(value); in nsvg__parseAttr()2629 curAttr->stopColor = 0; in nsvg__parseGradientStop()2658 stop->color = curAttr->stopColor; in nsvg__parseGradientStop()