Home
last modified time | relevance | path

Searched refs:SVGLengthType (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGLength.cpp42 static inline SVGLengthType toSVGLengthType(unsigned short type) in toSVGLengthType()
45 return static_cast<SVGLengthType>(type); in toSVGLengthType()
48 static inline unsigned int storeUnit(SVGLengthMode mode, SVGLengthType type) in storeUnit()
59 static inline SVGLengthType extractType(unsigned int unit) in extractType()
66 static inline String lengthTypeToString(SVGLengthType type) in lengthTypeToString()
97 static SVGLengthType stringToLengthType(const CharType*& ptr, const CharType* end) in stringToLengthType()
139 …SVGLength(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType) in SVGLength()
185 SVGLengthType SVGLength::unitType() const in unitType()
205 …lue(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType, Exce… in setValue()
231 static bool parseValueInternal(const String& string, float& convertedNumber, SVGLengthType& type) in parseValueInternal()
[all …]
DSVGLength.h60 …SVGLength(const SVGLengthContext&, float, SVGLengthMode = LengthModeOther, SVGLengthType = LengthT…
63 SVGLengthType unitType() const;
74 void setValue(const SVGLengthContext&, float, SVGLengthMode, SVGLengthType, ExceptionState&);
91 SVGLengthType type = unitType(); in isRelative()
106 SVGLengthType toType = unitType(); in blend()
107 SVGLengthType fromType = from.unitType(); in blend()
DSVGLengthContext.h32 enum SVGLengthType { enum
66 …float convertValueToUserUnits(float, SVGLengthMode, SVGLengthType fromUnit, ExceptionState&) const;
67 …float convertValueFromUserUnits(float, SVGLengthMode, SVGLengthType toUnit, ExceptionState&) const;
DSVGLengthContext.cpp89 float SVGLengthContext::convertValueToUserUnits(float value, SVGLengthMode mode, SVGLengthType from… in convertValueToUserUnits()
129 float SVGLengthContext::convertValueFromUserUnits(float value, SVGLengthMode mode, SVGLengthType to… in convertValueFromUserUnits()
DSVGAnimatedLength.cpp105 SVGLengthType unitType = percentage < 0.5 ? fromSVGLength.unitType() : toSVGLength.unitType(); in calculateAnimatedValue()
DSVGAnimatedLengthList.cpp115 SVGLengthType unitType = toLengthList[i].unitType(); in calculateAnimatedValue()