Module iced::widget::image::viewer

source ·
Available on crate feature image only.
Expand description

Zoom and pan on an image.

Structs

  • The local state of a Viewer.
  • A frame that displays an image with the ability to zoom in/out and pan.

Functions

  • Returns the bounds of the underlying image, given the bounds of the Viewer. Scaling will be applied and original aspect ratio will be respected.