Function vizia::vg::image_filters::matrix_transform
pub fn matrix_transform(
matrix: &Matrix,
sampling: impl Into<SamplingOptions>,
input: impl Into<Option<RCHandle<SkImageFilter>>>,
) -> Option<RCHandle<SkImageFilter>>
Expand description
Create a filter that transforms the input image by ‘matrix’. This matrix transforms the
local space, which means it effectively happens prior to any transformation coming from the
crate::Canvas
initiating the filtering.
matrix
- The matrix to apply to the original content.sampling
- How the image will be sampled when it is transformedinput
- The image filter to transform, or null to use the source image.