raw_image

Function raw_image 

pub fn raw_image<'a>(
    image: impl Into<RCHandle<SkImage>>,
    tm: (SkTileMode, SkTileMode),
    options: &SamplingOptions,
    matrix: impl Into<Option<&'a Matrix>>,
) -> Option<RCHandle<SkShader>>
Available on crate feature engine only.
Expand description

Create an Shader that will sample ‘image’ with minimal processing. This is equivalent to [Image::to_raw_shader].