fn encode_stops(
stops: &[ColorStop],
cs: ColorSpaceTag,
hue_dir: HueDirection,
) -> Vec<GradientRange>
Expand description
Encode all stops into a sequence of ranges.
fn encode_stops(
stops: &[ColorStop],
cs: ColorSpaceTag,
hue_dir: HueDirection,
) -> Vec<GradientRange>
Encode all stops into a sequence of ranges.