Searched defs:unitType (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAngle.h44 SVGAngleType unitType() const { return m_unitType; } function in class:WebCore::SVGAngle
55 void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState&);
56 void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&);
H A DSVGAngle.cpp138 static bool parseValue(const String& value, float& valueInSpecifiedUnits, SVGAngle::SVGAngleType& unitType) argument
146 unitType = stringToAngleType(ptr, end);
147 if (unitType == SVGAngle::SVG_ANGLETYPE_UNKNOWN)
161 SVGAngleType unitType = SVG_ANGLETYPE_UNKNOWN; local
163 bool success = value.is8Bit() ? parseValue<LChar>(value, valueInSpecifiedUnits, unitType)
164 : parseValue<UChar>(value, valueInSpecifiedUnits, unitType);
170 m_unitType = unitType;
174 void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) argument
176 if (unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRA
187 convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) argument
[all...]
H A DGradientAttributes.h49 void setGradientUnits(SVGUnitTypes::SVGUnitType unitType) argument
51 m_gradientUnits = unitType;
H A DSVGAnimatedLength.cpp105 SVGLengthType unitType = percentage < 0.5 ? fromSVGLength.unitType() : toSVGLength.unitType(); local
108 animatedSVGLength.setValue(lengthContext, animatedNumber, m_lengthMode, unitType, ASSERT_NO_EXCEPTION);
H A DSVGAnimatedLengthList.cpp115 SVGLengthType unitType = toLengthList[i].unitType(); local
119 unitType = fromLengthList[i].unitType();
125 animatedLengthList[i].setValue(lengthContext, animatedNumber, m_lengthMode, unitType, ASSERT_NO_EXCEPTION);
H A DSVGLength.cpp139 SVGLength::SVGLength(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType) argument
141 , m_unit(storeUnit(mode, unitType))
185 SVGLengthType SVGLength::unitType() const function in class:WebCore::SVGLength
205 void SVGLength::setValue(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType, ExceptionState& exceptionState) argument
207 m_unit = storeUnit(mode, unitType);
362 switch (length.unitType()) {
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableLength.h67 static PassRefPtr<AnimatableLength> create(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue = 0) argument
69 return adoptRef(new AnimatableLength(number, unitType, cssPrimitiveValue));
83 AnimatableLength(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue) argument
85 , m_unitType(unitType)
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSPrimitiveValue.cpp53 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType) argument
55 switch (unitType) {
630 double CSSPrimitiveValue::conversionToCanonicalUnitsScaleFactor(unsigned short unitType) argument
634 switch (unitType) {
682 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionState& exceptionState) const argument
685 bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
694 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType) const
697 getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
774 // Now convert from canonical type to the target unitType.
H A DCSSPrimitiveValue.h265 double getDoubleValue(unsigned short unitType, ExceptionState&) const;
266 double getDoubleValue(unsigned short unitType) const;
269 void setFloatValue(unsigned short unitType, double floatValue, ExceptionState&);
270 float getFloatValue(unsigned short unitType, ExceptionState& exceptionState) const { return getValue<float>(unitType, exceptionState); } argument
271 float getFloatValue(unsigned short unitType) const { return getValue<float>(unitType); }
274 int getIntValue(unsigned short unitType, ExceptionState& exceptionState) const { return getValue<int>(unitType, exceptionState); } argument
275 int getIntValue(unsigned short unitType) cons
278 getValue(unsigned short unitType, ExceptionState& exceptionState) const argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGRenderTreeAsText.cpp157 static TextStream& operator<<(TextStream& ts, const SVGUnitTypes::SVGUnitType& unitType) argument
159 ts << SVGPropertyTraits<SVGUnitTypes::SVGUnitType>::toString(unitType);

Completed in 214 milliseconds