Skip to content
  • Emmanuele Bassi's avatar
    Add constraint solver · 6b308cd7
    Emmanuele Bassi authored
    GtkConstraintSolver is an implementation of the Cassowary constraint
    solving algorithm:
    
      http://constraints.cs.washington.edu/cassowary/
    
    The Cassowary method allows to incrementally solve a tableau of linear
    equations, in the form of:
    
      x = y × coefficient + constant
    
    with different weights, or strengths, applied to each one.
    
    These equations can be used to describe constraints applied to a layout
    of UI elements, which allows layout managers using the Cassowary method
    to quickly, and efficiently, lay out widgets in complex relations
    between themselves and their parent container.
    6b308cd7