Function vizia::vg::shaders::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>>
Expand description

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