Skip to main content

Module thumbnail

Module thumbnail 

Source
Expand description

Thumbnails and a virtualised grid of them, from images the application supplies. The drawing lives in the egui layer (egui_pop_core::thumbnail), where the file picker of the application API uses it too (ADR 0001).

Experimental: may change in any release (docs/stability.md).

Structs§

Thumbnail
One thumbnail.
ThumbnailGrid
thumbnail_grid with its options: where it keeps its scrolling, how high it gets, and a cell to bring into view, drawn or not.

Functions§

caption_height
The room Thumbnail::caption takes under the image, in points.
fitted
The largest rectangle of aspect w:h inside outer, centred.
thumbnail_grid
A virtualised grid: only the rows in view are built, so ten thousand thumbnails cost what a screenful does. item draws cell i.