# File lib/compass/sass_extensions/functions/gradient_support.rb, line 366 def linear_svg_gradient(color_stops, start) x1, y1 = *grad_point(start).value x2, y2 = *grad_point(opposite_position(start)).value stops = color_stops_in_percentages(color_stops) svg = linear_svg(stops, x1, y1, x2, y2) inline_image_string(svg.gsub(/\s+/, ' '), 'image/svg+xml') end