Function linear_gradient_pattern

Source
pub fn linear_gradient_pattern(
    start: DevicePoint,
    end: DevicePoint,
    extend_mode: ExtendMode,
    stops: &[GradientStop],
    _is_software: bool,
    gpu_buffer_builder: &mut GpuBufferBuilder,
) -> Pattern