BSD-3-Clause licensed by Ivan Malison
Maintained by [email protected]
This version can be pinned in stack with:gtk-scaling-image-0.1.0.0@sha256:f59af172f99b058e3fe2349d766aa9acafa2c66f330ed812677d6d23ddedf8a5,1221

Module documentation for 0.1.0.0

gtk-scaling-image

gtk-scaling-image provides generic GTK image sizing helpers for Haskell GI applications. It includes:

  • aspect-ratio-preserving pixbuf scaling to a target size
  • CSS-aware border and padding measurement helpers
  • a draw-based auto-fill image widget that scales to allocation without Gtk.Image resize feedback loops

This package was extracted from the shared image widget code used by taffybar and gtk-sni-tray.

Changes

Changelog for gtk-scaling-image

0.1.0.0

  • Initial release.
  • Extract generic pixbuf scaling, CSS inset measurement, and draw-based auto-fill image helpers from taffybar and gtk-sni-tray.