CGGradientCreateWithColors

Function CGGradientCreateWithColors 

Source
pub unsafe extern "C-unwind" fn CGGradientCreateWithColors(
    space: Option<&CGColorSpace>,
    colors: Option<&CFArray>,
    locations: *const CGFloat,
) -> Option<CFRetained<CGGradient>>
👎Deprecated: renamed to CGGradient::with_colors
Available on crate features CGColorSpace and CGGradient only.