pub fn copy_patch(
surface: &TfSurface<'_>,
src_region: &Region,
dst_frame: usize,
dst_bin: usize,
out: &mut [f32],
) -> Result<usize, SurfaceEditError>Expand description
Copy a rectangular patch from src to a destination offset in out.
out must be at least frame_count * bin_count.