Aqt.Cassowary
|
Enum categorising the priority of constraints. More...
#include <aqt/cassowary/Strength.hpp>
Public Types | |
enum | Types { Required, Strong, Medium, Weak } |
Static Public Member Functions | |
static rhea::strength | impl (Types t) |
Enum categorising the priority of constraints.
Constraints with higher strengths have higher priority, and thus the system will try harder to satisfy them iff not all constraints can be satisfied at the same time – i.e. when the system is overconstrained.
Required
strength is special. The solver will log errors when required constraints can not be satisfied.import Aqt.Cassowary 1.0