GTK4.cr v0.12.0 Release Notes

Release Date: 2022-09-06 // over 1 year ago
  • ➕ Added

    • ➕ Added overload Gtk::Snapshot#translate(x : Float32, y : Float32).
    • ➕ Added overload Gtk::Snapshot#append_color(color : Gdk::RGBA, x : Float32, y : Float32, width : Float32, height : Float32).
    • Added overload Gtk::Snapshot#push_repeat(bounds_x : Float32, bounds_y : Float32, bounds_width : Float32, bounds_height : Float32, child_bounds_x : Float32, child_bounds_y : Float32, child_bounds_width : Float32, child_bounds_height : Float32)
    • ➕ Added overload Gtk::Snapshot#save that receives a block and calls Gtk::Snapshot#restore at the end.

    🛠 Fixed

    • Don't crash when instantiating Pango::FontMetrics.
    • 👉 Make possible to use Pango::AttrList and Pango::Attributes.

    🔄 Changed


Previous changes from v0.11.1

  • 🛠 Fixed

    • 🛠 Fix compilation with HarfBuzz 4.4.1.