Lines Matching defs:from
110 Length blend(const Length& from, double progress) const;
118 Length blendMixedTypes(const Length& from, double progress) const;
401 inline Length Length::blend(const Length& from, double progress) const
403 if (from.type() == Calculated || type() == Calculated)
404 return blendMixedTypes(from, progress);
406 if (!from.isZero() && !isZero() && from.type() != type())
407 return blendMixedTypes(from, progress);
409 if (from.isZero() && isZero())
414 resultType = from.type();
417 float fromPercent = from.isZero() ? 0 : from.percent();
422 float fromValue = from.isZero() ? 0 : from.value();