Home
last modified time | relevance | path

Searched refs:unitType (Results 1 – 21 of 21) sorted by relevance

/external/webkit/Source/WebCore/svg/
DSVGAngle.cpp146 SVGAngleType unitType = stringToAngleType(ptr, end); in setValueAsString() local
147 if (unitType == SVG_ANGLETYPE_UNKNOWN) { in setValueAsString()
152 m_unitType = unitType; in setValueAsString()
156 void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, Excepti… in newValueSpecifiedUnits() argument
158 if (unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRAD) { in newValueSpecifiedUnits()
163 if (unitType != m_unitType) in newValueSpecifiedUnits()
164 m_unitType = static_cast<SVGAngleType>(unitType); in newValueSpecifiedUnits()
169 void SVGAngle::convertToSpecifiedUnits(unsigned short unitType, ExceptionCode& ec) in convertToSpecifiedUnits() argument
171 …if (unitType == SVG_ANGLETYPE_UNKNOWN || m_unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANG… in convertToSpecifiedUnits()
176 if (unitType == m_unitType) in convertToSpecifiedUnits()
[all …]
DSVGAngle.h43 SVGAngleType unitType() const { return m_unitType; } in unitType() function
54 … void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionCode&);
55 void convertToSpecifiedUnits(unsigned short unitType, ExceptionCode&);
DSVGAngle.idl33 readonly attribute unsigned short unitType;
40 …quiresAllArguments=Raise] void newValueSpecifiedUnits(in unsigned short unitType, in float valueIn…
43 …tTypeChecking, RequiresAllArguments=Raise] void convertToSpecifiedUnits(in unsigned short unitType)
DSVGLength.idl39 readonly attribute unsigned short unitType;
48 …tTypeChecking, RequiresAllArguments=Raise] void newValueSpecifiedUnits(in unsigned short unitType,
52 …tTypeChecking, RequiresAllArguments=Raise] void convertToSpecifiedUnits(in unsigned short unitType)
DSVGLength.h74 SVGLengthType unitType() const;
97 SVGLengthType type = unitType(); in isRelative()
DSVGLength.cpp150 SVGLengthType SVGLength::unitType() const in unitType() function in WebCore::SVGLength
520 switch (length.unitType()) { in toCSSPrimitiveValue()
DSVGSVGElement.cpp143 if (w.unitType() != LengthTypePercentage) in relativeWidthValue()
152 if (h.unitType() != LengthTypePercentage) in relativeHeightValue()
/external/webkit/Source/WebCore/css/
DCSSPrimitiveValue.h152 double getDoubleValue(unsigned short unitType, ExceptionCode&) const;
153 double getDoubleValue(unsigned short unitType) const;
156 void setFloatValue(unsigned short unitType, double floatValue, ExceptionCode&);
157 …oat getFloatValue(unsigned short unitType, ExceptionCode& ec) const { return static_cast<float>(ge… in getFloatValue() argument
158 …float getFloatValue(unsigned short unitType) const { return static_cast<float>(getDoubleValue(unit… in getFloatValue() argument
161 …int getIntValue(unsigned short unitType, ExceptionCode& ec) const { return static_cast<int>(getDou… in getIntValue() argument
162 …int getIntValue(unsigned short unitType) const { return static_cast<int>(getDoubleValue(unitType))… in getIntValue() argument
DCSSPrimitiveValue.cpp364 static double conversionToCanonicalUnitsScaleFactor(unsigned short unitType) in conversionToCanonicalUnitsScaleFactor() argument
368 switch (unitType) { in conversionToCanonicalUnitsScaleFactor()
410 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionCode& ec) const in getDoubleValue() argument
413 bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); in getDoubleValue()
423 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType) const in getDoubleValue()
426 getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); in getDoubleValue()
DCSSPrimitiveValue.idl54 [OldStyleObjC] void setFloatValue(in unsigned short unitType,
57 float getFloatValue(in unsigned short unitType)
DCSSGradientValue.cpp417 unsigned short unitType = stop.m_position->primitiveType(); in isCacheable() local
418 …if (unitType == CSSPrimitiveValue::CSS_EMS || unitType == CSSPrimitiveValue::CSS_EXS || unitType =… in isCacheable()
DCSSParser.cpp4386 Units unitType = FUnknown; in parseColorParameters() local
4389 unitType = FInteger; in parseColorParameters()
4391 unitType = FPercent; in parseColorParameters()
4400 if (!validUnit(v, unitType, true)) in parseColorParameters()
/external/webkit/Source/WebCore/svg/graphics/
DSVGImage.cpp143 if (width.unitType() == LengthTypePercentage) in size()
148 if (height.unitType() == LengthTypePercentage) in size()
164 return rootElement->width().unitType() == LengthTypePercentage; in hasRelativeWidth()
175 return rootElement->height().unitType() == LengthTypePercentage; in hasRelativeHeight()
/external/webkit/Source/WebCore/bindings/js/
DJSSVGLengthCustom.cpp83 unsigned short unitType = exec->argument(0).toUInt32(exec); in convertToSpecifiedUnits() local
88 podImp.convertToSpecifiedUnits(unitType, impl()->contextElement(), ec); in convertToSpecifiedUnits()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8SVGLengthCustom.cpp93 EXCEPTION_BLOCK(int, unitType, toUInt32(args[0])); in convertToSpecifiedUnitsCallback()
94 imp.convertToSpecifiedUnits(unitType, wrapper->contextElement(), ec); in convertToSpecifiedUnitsCallback()
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutEngineSpacing.cpp74 if (kerningLength.unitType() == LengthTypePercentage) in calculateCSSKerningAndSpacing()
DRenderSVGRoot.cpp236 …m_viewportSize = FloatSize(width.unitType() == LengthTypePercentage ? svg->relativeWidthValue() : … in calcViewport()
237 … height.unitType() == LengthTypePercentage ? svg->relativeHeightValue() : height.value(svg)); in calcViewport()
DSVGTextLayoutEngineBaseline.cpp42 if (baselineShiftValueLength.unitType() == LengthTypePercentage) in calculateBaselineShift()
DSVGRenderTreeAsText.cpp189 static TextStream& operator<<(TextStream& ts, const SVGUnitTypes::SVGUnitType& unitType) in operator <<() argument
191 switch (unitType) { in operator <<()
/external/webkit/Source/WebCore/bindings/objc/
DPublicDOMInterfaces.h948 - (void)setFloatValue:(unsigned short)unitType :(float)floatValue;
949 - (void)setFloatValue:(unsigned short)unitType floatValue:(float)floatValue AVAILABLE_WEBKIT_VERSIO…
950 - (float)getFloatValue:(unsigned short)unitType;
/external/webkit/Source/WebCore/
DChangeLog-2006-12-313188 (WebCore::SVGLength::unitType):
35714 (SVGAngle::unitType):
35720 (WebCore::SVGLength::unitType):