Lines Matching refs:stop
415 // write stop tags
417 for (int32 i = 0; BGradient::ColorStop* stop = gradient->ColorAt(i); i++) {
419 sprintf(color, "%.2x%.2x%.2x", stop->color.red,
420 stop->color.green,
421 stop->color.blue);
424 helper << " <stop offset=\"";
425 append_float(helper, stop->offset);
426 helper << "\" stop-color=\"#" << color << "\"";
428 if (stop->color.alpha < 255) {
429 helper << " stop-opacity=\"";
430 append_float(helper, (float)stop->color.alpha / 255.0);