diff options
Diffstat (limited to 'wgpu/src/widget/image_viewer.rs')
-rw-r--r-- | wgpu/src/widget/image_viewer.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wgpu/src/widget/image_viewer.rs b/wgpu/src/widget/image_viewer.rs new file mode 100644 index 00000000..ec44e30a --- /dev/null +++ b/wgpu/src/widget/image_viewer.rs @@ -0,0 +1,6 @@ +//! Zoom and pan on an image. + +pub use iced_native::image_viewer::State; + +/// A widget that can display an image with the ability to zoom in/out and pan. +pub type ImageViewer<'a> = iced_native::ImageViewer<'a>; |