Home
last modified time | relevance | path

Searched refs:SVGLength (Results 1 – 25 of 67) sorted by relevance

123

/external/webkit/Source/WebCore/svg/
DRadialGradientAttributes.h42 SVGLength cx() const { return m_cx; } in cx()
43 SVGLength cy() const { return m_cy; } in cy()
44 SVGLength r() const { return m_r; } in r()
45 SVGLength fx() const { return m_fx; } in fx()
46 SVGLength fy() const { return m_fy; } in fy()
48 void setCx(const SVGLength& value) { m_cx = value; m_cxSet = true; } in setCx()
49 void setCy(const SVGLength& value) { m_cy = value; m_cySet = true; } in setCy()
50 void setR(const SVGLength& value) { m_r = value; m_rSet = true; } in setR()
51 void setFx(const SVGLength& value) { m_fx = value; m_fxSet = true; } in setFx()
52 void setFy(const SVGLength& value) { m_fy = value; m_fySet = true; } in setFy()
[all …]
DLinearGradientAttributes.h40 SVGLength x1() const { return m_x1; } in x1()
41 SVGLength y1() const { return m_y1; } in y1()
42 SVGLength x2() const { return m_x2; } in x2()
43 SVGLength y2() const { return m_y2; } in y2()
45 void setX1(const SVGLength& value) { m_x1 = value; m_x1Set = true; } in setX1()
46 void setY1(const SVGLength& value) { m_y1 = value; m_y1Set = true; } in setY1()
47 void setX2(const SVGLength& value) { m_x2 = value; m_x2Set = true; } in setX2()
48 void setY2(const SVGLength& value) { m_y2 = value; m_y2Set = true; } in setY2()
57 SVGLength m_x1;
58 SVGLength m_y1;
[all …]
DSVGLength.cpp125 SVGLength::SVGLength(SVGLengthMode mode, const String& valueAsString) in SVGLength() function in WebCore::SVGLength
133 SVGLength::SVGLength(const SVGLength& other) in SVGLength() function in WebCore::SVGLength
139 bool SVGLength::operator==(const SVGLength& other) const in operator ==()
145 bool SVGLength::operator!=(const SVGLength& other) const in operator !=()
150 SVGLengthType SVGLength::unitType() const in unitType()
155 float SVGLength::value(const SVGElement* context) const in value()
161 float SVGLength::value(const SVGElement* context, ExceptionCode& ec) const in value()
193 void SVGLength::setValue(float value, const SVGElement* context, ExceptionCode& ec) in setValue()
241 float SVGLength::valueAsPercentage() const in valueAsPercentage()
250 void SVGLength::setValueAsString(const String& string, ExceptionCode& ec) in setValueAsString()
[all …]
DPatternAttributes.h55 SVGLength x() const { return m_x; } in x()
56 SVGLength y() const { return m_y; } in y()
57 SVGLength width() const { return m_width; } in width()
58 SVGLength height() const { return m_height; } in height()
66 void setX(const SVGLength& value) in setX()
72 void setY(const SVGLength& value) in setY()
78 void setWidth(const SVGLength& value) in setWidth()
84 void setHeight(const SVGLength& value) in setHeight()
139 SVGLength m_x;
140 SVGLength m_y;
[all …]
DSVGLength.h54 class SVGLength {
71 SVGLength(SVGLengthMode mode = LengthModeOther, const String& valueAsString = String());
72 SVGLength(const SVGLength&);
76 bool operator==(const SVGLength&) const;
77 bool operator!=(const SVGLength&) const;
101 static SVGLength fromCSSPrimitiveValue(CSSPrimitiveValue*);
102 static PassRefPtr<CSSPrimitiveValue> toCSSPrimitiveValue(const SVGLength&);
122 struct SVGPropertyTraits<SVGLength> {
123 static SVGLength initialValue() { return SVGLength(); }
124 static String toString(const SVGLength& type) { return type.valueAsString(); }
DSVGLengthList.idl34 [StrictTypeChecking, RequiresAllArguments=Raise] SVGLength initialize(in SVGLength item)
36 [StrictTypeChecking, RequiresAllArguments=Raise] SVGLength getItem(in unsigned long index)
38 …[StrictTypeChecking, RequiresAllArguments=Raise] SVGLength insertItemBefore(in SVGLength item, in …
40 …[StrictTypeChecking, RequiresAllArguments=Raise] SVGLength replaceItem(in SVGLength item, in unsig…
42 … [StrictTypeChecking, RequiresAllArguments=Raise] SVGLength removeItem(in unsigned long index)
44 [StrictTypeChecking, RequiresAllArguments=Raise] SVGLength appendItem(in SVGLength item)
DSVGAnimatedLength.h29 typedef SVGAnimatedPropertyTearOff<SVGLength> SVGAnimatedLength;
33 DECLARE_ANIMATED_PROPERTY(SVGAnimatedLength, SVGLength, UpperProperty, LowerProperty)
36 …Y(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedLength, SVGLength, UpperProperty, …
DSVGRectElement.cpp62 setXBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
64 setYBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
66 setRxBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
70 setRyBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
74 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
78 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
DSVGTextContentElement.h60 SVGLength& specifiedTextLength() { return m_specifiedTextLength; } in specifiedTextLength()
80 SVGLength m_specifiedTextLength;
81 mutable SVGSynchronizableAnimatedProperty<SVGLength> m_textLength;
DSVGLineElement.cpp59 setX1BaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
61 setY1BaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
63 setX2BaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
65 setY2BaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
DSVGForeignObjectElement.cpp62 setXBaseValue(SVGLength(LengthModeWidth, value)); in parseMappedAttribute()
64 setYBaseValue(SVGLength(LengthModeHeight, value)); in parseMappedAttribute()
66 setWidthBaseValue(SVGLength(LengthModeWidth, value)); in parseMappedAttribute()
68 setHeightBaseValue(SVGLength(LengthModeHeight, value)); in parseMappedAttribute()
DSVGEllipseElement.cpp59 setCxBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
61 setCyBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
63 setRxBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
67 setRyBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
DSVGFilterPrimitiveStandardAttributes.cpp60 setXBaseValue(SVGLength(LengthModeWidth, value)); in parseMappedAttribute()
62 setYBaseValue(SVGLength(LengthModeHeight, value)); in parseMappedAttribute()
64 setWidthBaseValue(SVGLength(LengthModeWidth, value)); in parseMappedAttribute()
66 setHeightBaseValue(SVGLength(LengthModeHeight, value)); in parseMappedAttribute()
DSVGLengthList.h30 class SVGLengthList : public Vector<SVGLength> {
40 typedef SVGLength ListItemType;
DSVGSVGElement.cpp142 SVGLength w = width(); in relativeWidthValue()
151 SVGLength h = height(); in relativeHeightValue()
261 setXBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
263 setYBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
265 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
270 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
292 …SVGElement* element, const QualifiedName& attrName, CSSPropertyID property, const SVGLength& value) in updateCSSForAttribute()
451 SVGLength SVGSVGElement::createSVGLength() in createSVGLength()
453 return SVGLength(); in createSVGLength()
DSVGRadialGradientElement.cpp68 setCxBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
70 setCyBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
72 setRBaseValue(SVGLength(LengthModeOther, attr->value())); in parseMappedAttribute()
76 setFxBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
78 setFyBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
DSVGMaskElement.cpp78 setXBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
80 setYBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
82 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
84 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
DSVGImageElement.cpp65 setXBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
67 setYBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
71 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
76 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
DSVGLinearGradientElement.cpp66 setX1BaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
68 setY1BaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
70 setX2BaseValue(SVGLength(LengthModeWidth, attr->value())); in parseMappedAttribute()
72 setY2BaseValue(SVGLength(LengthModeHeight, attr->value())); in parseMappedAttribute()
/external/webkit/Source/WebCore/rendering/style/
DSVGRenderStyle.h77 static Vector<SVGLength> initialStrokeDashArray() { return Vector<SVGLength>(); } in initialStrokeDashArray()
92 static SVGLength initialBaselineShiftValue() in initialBaselineShiftValue()
94 SVGLength length; in initialBaselineShiftValue()
101 static SVGLength initialKerning() in initialKerning()
103 SVGLength length; in initialKerning()
110 static SVGLength initialStrokeDashOffset() in initialStrokeDashOffset()
112 SVGLength length; in initialStrokeDashOffset()
119 static SVGLength initialStrokeWidth() in initialStrokeWidth()
121 SVGLength length; in initialStrokeWidth()
171 void setStrokeDashArray(const Vector<SVGLength>& obj) in setStrokeDashArray()
[all …]
DSVGRenderStyleDefs.h130 SVGLength width;
131 SVGLength dashOffset;
132 Vector<SVGLength> dashArray;
171 SVGLength kerning;
195 SVGLength baselineShiftValue;
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8SVGLengthCustom.cpp45 SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder()); in valueAccessorGetter()
46 SVGLength& imp = wrapper->propertyReference(); in valueAccessorGetter()
59 SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder()); in valueAccessorSetter()
70 SVGLength& imp = wrapper->propertyReference(); in valueAccessorSetter()
82 SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(args.Holder()); in convertToSpecifiedUnitsCallback()
91 SVGLength& imp = wrapper->propertyReference(); in convertToSpecifiedUnitsCallback()
/external/webkit/Source/WebCore/rendering/svg/
DSVGShadowTreeElements.h37 void setContainerOffset(const SVGLength& x, const SVGLength& y) in setContainerOffset()
50 SVGLength m_xOffset;
51 SVGLength m_yOffset;
/external/webkit/Source/WebCore/css/
DSVGCSSComputedStyleDeclaration.cpp49 static PassRefPtr<CSSValue> strokeDashArrayToCSSValueList(const Vector<SVGLength>& dashes) in strokeDashArrayToCSSValueList()
55 const Vector<SVGLength>::const_iterator end = dashes.end(); in strokeDashArrayToCSSValueList()
56 for (Vector<SVGLength>::const_iterator it = dashes.begin(); it != end; ++it) in strokeDashArrayToCSSValueList()
57 list->append(SVGLength::toCSSPrimitiveValue(*it)); in strokeDashArrayToCSSValueList()
138 return SVGLength::toCSSPrimitiveValue(svgStyle->kerning()); in getSVGPropertyCSSValue()
156 return SVGLength::toCSSPrimitiveValue(svgStyle->strokeDashOffset()); in getSVGPropertyCSSValue()
158 return SVGLength::toCSSPrimitiveValue(svgStyle->strokeWidth()); in getSVGPropertyCSSValue()
168 return SVGLength::toCSSPrimitiveValue(svgStyle->baselineShiftValue()); in getSVGPropertyCSSValue()
/external/webkit/Source/WebCore/bindings/js/
DJSSVGLengthCustom.cpp35 SVGLength& podImp = impl()->propertyReference(); in value()
58 SVGLength& podImp = impl()->propertyReference(); in setValue()
77 SVGLength& podImp = impl()->propertyReference(); in convertToSpecifiedUnits()

123