Function cosmic::iced_widget::renderer::graphics::image::image_rs::imageops::sample_bilinear
source ยท pub fn sample_bilinear<P>(
img: &impl GenericImageView<Pixel = P>,
u: f32,
v: f32,
) -> Option<P>where
P: Pixel,
Expand description
Linearly sample from an image using coordinates in [0, 1].