Lines Matching refs:Length
39 // appropriate for any given Length.
66 class PLATFORM_EXPORT Length {
69 Length()
74 Length(LengthType t)
80 Length(int v, LengthType t, bool q = false)
86 Length(LayoutUnit v, LengthType t, bool q = false)
92 Length(float v, LengthType t, bool q = false)
98 Length(double v, LengthType t, bool q = false)
104 explicit Length(PassRefPtr<CalculationValue>);
106 Length(const Length& length)
108 memcpy(this, &length, sizeof(Length));
113 Length& operator=(const Length& length)
119 memcpy(this, &length, sizeof(Length));
124 Length(Length&& length)
126 memcpy(this, &length, sizeof(Length));
134 Length& operator=(Length&& length)
142 memcpy(this, &length, sizeof(Length));
153 ~Length()
159 bool operator==(const Length& o) const { return (m_type == o.m_type) && (m_quirk == o.m_quirk) && (isMaxSizeNone() || (getFloatValue() == o.getFloatValue()) || isCalculatedEqual(o)); }
160 bool operator!=(const Length& o) const { return !(*this == o); }
162 const Length& operator*=(float v)
240 *this = Length(value, Fixed);
245 // FIXME calc: https://bugs.webkit.org/show_bug.cgi?id=80357. A calculated Length
283 bool isCalculatedEqual(const Length&) const;
289 Length blend(const Length& from, double progress, ValueRange range) const
315 return Length(blendedValue, resultType);
325 Length subtractFromOneHundredPercent() const;
334 Length blendMixedTypes(const Length& from, double progress, ValueRange) const;
353 PLATFORM_EXPORT Vector<Length> parseHTMLAreaElementCoords(const String&);