cosmic::iced::widget::image

Module viewer

source
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.