encode_stops

Function encode_stops 

Source
fn encode_stops(
    stops: &[ColorStop],
    cs: ColorSpaceTag,
    hue_dir: HueDirection,
    interpolation_alpha_space: InterpolationAlphaSpace,
) -> Vec<GradientRange>
Expand description

Encode all stops into a sequence of ranges.