vizia::vg::tiled_image_utils

Function draw_image_rect

pub fn draw_image_rect(
    canvas: &Canvas,
    image: &RCHandle<SkImage>,
    src: impl AsRef<Rect>,
    dst: impl AsRef<Rect>,
    sampling: Option<SamplingOptions>,
    paint: Option<&Handle<SkPaint>>,
    constraint: impl Into<Option<SkCanvas_SrcRectConstraint>>,
)