Lines Matching defs:stops
88 // Gradient color stops are specified as a consolidated float vector holding:
100 // while the number of opacity stops is implicit (based on the size of fStops).
107 // apply() may get called before the stops are set, so only log when we have some stops.
131 std::vector<sksg::Gradient::ColorStop> stops;
132 stops.reserve(c_count);
134 // Merge-sort the color and opacity stops, LERP-ing intermediate channel values as needed.
148 // Compute component lerp coefficients based on the relative position of the stops
170 stops.push_back(current_stop);
172 // Consume one of, or both (for coincident positions) color/opacity stops.
181 stops.shrink_to_fit();
182 fGradient->setColorStops(std::move(stops));