Lines Matching defs:Length
48 struct Length {
51 Length()
56 Length(LengthType t)
62 Length(int v, LengthType t, bool q = false)
68 Length(LayoutUnit v, LengthType t, bool q = false)
74 Length(float v, LengthType t, bool q = false)
80 Length(double v, LengthType t, bool q = false)
86 explicit Length(PassRefPtr<CalculationValue>);
88 Length(const Length& length)
93 Length& operator=(const Length& length)
99 ~Length()
105 bool operator==(const Length& o) const { return (m_type == o.m_type) && (m_quirk == o.m_quirk) && (isUndefined() || (getFloatValue() == o.getFloatValue()) || isCalculatedEqual(o)); }
106 bool operator!=(const Length& o) const { return !(*this == o); }
108 const Length& operator*=(float v)
185 *this = Length(value, Fixed);
190 // FIXME calc: https://bugs.webkit.org/show_bug.cgi?id=80357. A calculated Length
229 bool isCalculatedEqual(const Length&) const;
233 Length blend(const Length& from, double progress) const
252 return Length(WebCore::blend(fromPercent, toPercent, progress), Percent);
257 return Length(WebCore::blend(fromValue, toValue, progress), resultType);
283 void initFromLength(const Length& length)
285 memcpy(this, &length, sizeof(Length));
290 Length blendMixedTypes(const Length& from, double progress) const;
309 PassOwnArrayPtr<Length> newCoordsArray(const String&, int& len);
310 PassOwnArrayPtr<Length> newLengthArray(const String&, int& len);