Function cassowary::strength::create
[−]
[src]
pub fn create(a: f64, b: f64, c: f64, w: f64) -> f64
Create a constraint as a linear combination of STRONG, MEDIUM and WEAK strengths, corresponding to a
b
and c
respectively. The result is further multiplied by w
.