Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/core/svg/
DRadialGradientAttributes.h40 SVGLength cx() const { return m_cx; } in cx()
41 SVGLength cy() const { return m_cy; } in cy()
42 SVGLength r() const { return m_r; } in r()
43 SVGLength fx() const { return m_fx; } in fx()
44 SVGLength fy() const { return m_fy; } in fy()
45 SVGLength fr() const { return m_fr; } in fr()
47 void setCx(const SVGLength& value) { m_cx = value; m_cxSet = true; } in setCx()
48 void setCy(const SVGLength& value) { m_cy = value; m_cySet = true; } in setCy()
49 void setR(const SVGLength& value) { m_r = value; m_rSet = true; } in setR()
50 void setFx(const SVGLength& value) { m_fx = value; m_fxSet = true; } in setFx()
[all …]
DSVGLength.h41 class SVGLength {
59 SVGLength(SVGLengthMode = LengthModeOther, const String& valueAsString = String());
60SVGLength(const SVGLengthContext&, float, SVGLengthMode = LengthModeOther, SVGLengthType = LengthT…
61 SVGLength(const SVGLength&);
66 bool operator==(const SVGLength&) const;
67 bool operator!=(const SVGLength&) const;
69 …static SVGLength construct(SVGLengthMode, const String&, SVGParsingError&, SVGLengthNegativeValues…
100 static SVGLength fromCSSPrimitiveValue(CSSPrimitiveValue*);
101 static PassRefPtr<CSSPrimitiveValue> toCSSPrimitiveValue(const SVGLength&);
104 SVGLength blend(const SVGLength& from, float progress) const in blend()
[all …]
DLinearGradientAttributes.h39 SVGLength x1() const { return m_x1; } in x1()
40 SVGLength y1() const { return m_y1; } in y1()
41 SVGLength x2() const { return m_x2; } in x2()
42 SVGLength y2() const { return m_y2; } in y2()
44 void setX1(const SVGLength& value) { m_x1 = value; m_x1Set = true; } in setX1()
45 void setY1(const SVGLength& value) { m_y1 = value; m_y1Set = true; } in setY1()
46 void setX2(const SVGLength& value) { m_x2 = value; m_x2Set = true; } in setX2()
47 void setY2(const SVGLength& value) { m_y2 = value; m_y2Set = true; } in setY2()
56 SVGLength m_x1;
57 SVGLength m_y1;
[all …]
DSVGAnimatedLength.cpp31 … , m_lengthMode(SVGLength::lengthModeForAnimatedLengthAttribute(animationElement->attributeName())) in SVGAnimatedLengthAnimator()
35 static inline SVGLength& sharedSVGLength(SVGLengthMode mode, const String& valueAsString) in sharedSVGLength()
37 DEFINE_STATIC_LOCAL(SVGLength, sharedLength, ()); in sharedSVGLength()
44 return SVGAnimatedType::createLength(new SVGLength(m_lengthMode, string)); in constructFromString()
78 const SVGLength& fromLength = from->length(); in addAnimatedTypes()
79 SVGLength& toLength = to->length(); in addAnimatedTypes()
84 static SVGLength parseLengthFromString(SVGAnimationElement* animationElement, const String& string) in parseLengthFromString()
86 …return sharedSVGLength(SVGLength::lengthModeForAnimatedLengthAttribute(animationElement->attribute… in parseLengthFromString()
94SVGLength fromSVGLength = m_animationElement->animationMode() == ToAnimation ? animated->length() … in calculateAnimatedValue()
95 SVGLength toSVGLength = to->length(); in calculateAnimatedValue()
[all …]
DSVGLength.cpp132 SVGLength::SVGLength(SVGLengthMode mode, const String& valueAsString) in SVGLength() function in WebCore::SVGLength
139 SVGLength::SVGLength(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthTyp… in SVGLength() function in WebCore::SVGLength
146 SVGLength::SVGLength(const SVGLength& other) in SVGLength() function in WebCore::SVGLength
152 void SVGLength::setValueAsString(const String& valueAsString, SVGLengthMode mode, ExceptionState& e… in setValueAsString()
159 bool SVGLength::operator==(const SVGLength& other) const in operator ==()
165 bool SVGLength::operator!=(const SVGLength& other) const in operator !=()
170 SVGLength SVGLength::construct(SVGLengthMode mode, const String& valueAsString, SVGParsingError& pa… in construct()
173 SVGLength length(mode); in construct()
185 SVGLengthType SVGLength::unitType() const in unitType()
190 SVGLengthMode SVGLength::unitMode() const in unitMode()
[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 …]
DSVGLengthContext.h30 class SVGLength; variable
62 …tType, const FloatRect& viewport, const SVGLength& x, const SVGLength& y, const SVGLength& width, …
63 …resolvePoint(const SVGElement*, SVGUnitTypes::SVGUnitType, const SVGLength& x, const SVGLength& y);
64 static float resolveLength(const SVGElement*, SVGUnitTypes::SVGUnitType, const SVGLength&);
DSVGLengthList.idl31 [StrictTypeChecking, RaisesException] SVGLength initialize(SVGLength item);
32 [StrictTypeChecking, RaisesException] SVGLength getItem(unsigned long index);
33 …[StrictTypeChecking, RaisesException] SVGLength insertItemBefore(SVGLength item, unsigned long ind…
34 … [StrictTypeChecking, RaisesException] SVGLength replaceItem(SVGLength item, unsigned long index);
35 [StrictTypeChecking, RaisesException] SVGLength removeItem(unsigned long index);
36 [StrictTypeChecking, RaisesException] SVGLength appendItem(SVGLength item);
DSVGRectElement.cpp92 setXBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
94 setYBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
96 … setRxBaseValue(SVGLength::construct(LengthModeWidth, value, parseError, ForbidNegativeLengths)); in parseAttribute()
98 … setRyBaseValue(SVGLength::construct(LengthModeHeight, value, parseError, ForbidNegativeLengths)); in parseAttribute()
100 …setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError, ForbidNegativeLengths)); in parseAttribute()
102 …setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError, ForbidNegativeLengths… in parseAttribute()
DSVGLengthContext.cpp50 … type, const FloatRect& viewport, const SVGLength& x, const SVGLength& y, const SVGLength& width, … in resolveRectangle()
65 …(const SVGElement* context, SVGUnitTypes::SVGUnitType type, const SVGLength& x, const SVGLength& y) in resolvePoint()
77 …ntext::resolveLength(const SVGElement* context, SVGUnitTypes::SVGUnitType type, const SVGLength& x) in resolveLength()
DSVGAnimatedLength.h29 typedef SVGAnimatedPropertyTearOff<SVGLength> SVGAnimatedLength;
33 DECLARE_ANIMATED_PROPERTY(SVGAnimatedLength, SVGLength, UpperProperty, LowerProperty)
36 …DOMAttribute, DOMAttribute.localName(), UpperProperty, LowerProperty, SVGAnimatedLength, SVGLength)
DSVGRadialGradientElement.cpp93 setCxBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
95 setCyBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
97 … setRBaseValue(SVGLength::construct(LengthModeOther, value, parseError, ForbidNegativeLengths)); in parseAttribute()
99 setFxBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
101 setFyBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
103 … setFrBaseValue(SVGLength::construct(LengthModeOther, value, parseError, ForbidNegativeLengths)); in parseAttribute()
DSVGLineElement.cpp83 setX1BaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
85 setY1BaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
87 setX2BaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
89 setY2BaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
DSVGEllipseElement.cpp84 setCxBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
86 setCyBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
88 … setRxBaseValue(SVGLength::construct(LengthModeWidth, value, parseError, ForbidNegativeLengths)); in parseAttribute()
90 … setRyBaseValue(SVGLength::construct(LengthModeHeight, value, parseError, ForbidNegativeLengths)); in parseAttribute()
DSVGForeignObjectElement.cpp87 setXBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
89 setYBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
91 setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
93 setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
DSVGFilterPrimitiveStandardAttributes.cpp82 setXBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
84 setYBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
86 setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError)); in parseAttribute()
88 setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); in parseAttribute()
DSVGTextContentElement.h93 SVGLength& specifiedTextLength() { return m_specifiedTextLength; }
116 mutable SVGSynchronizableAnimatedProperty<SVGLength> m_textLength;
117 SVGLength m_specifiedTextLength;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8SVGLengthCustom.cpp45 SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder()); in valueAttributeGetterCustom()
46 SVGLength& imp = wrapper->propertyReference(); in valueAttributeGetterCustom()
57 SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder()); in valueAttributeSetterCustom()
68 SVGLength& imp = wrapper->propertyReference(); in valueAttributeSetterCustom()
80 SVGPropertyTearOff<SVGLength>* wrapper = V8SVGLength::toNative(info.Holder()); in convertToSpecifiedUnitsMethodCustom()
93 SVGLength& imp = wrapper->propertyReference(); in convertToSpecifiedUnitsMethodCustom()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DSVGRenderStyle.h82 static Vector<SVGLength> initialStrokeDashArray() { return Vector<SVGLength>(); } in initialStrokeDashArray()
98 static SVGLength initialBaselineShiftValue() in initialBaselineShiftValue()
100 SVGLength length; in initialBaselineShiftValue()
105 static SVGLength initialKerning() in initialKerning()
107 SVGLength length; in initialKerning()
112 static SVGLength initialStrokeDashOffset() in initialStrokeDashOffset()
114 SVGLength length; in initialStrokeDashOffset()
119 static SVGLength initialStrokeWidth() in initialStrokeWidth()
121 SVGLength length; in initialStrokeWidth()
199 void setStrokeDashArray(const Vector<SVGLength>& obj) in setStrokeDashArray()
[all …]
DSVGRenderStyleDefs.h149 SVGLength width;
150 SVGLength dashOffset;
151 Vector<SVGLength> dashArray;
195 SVGLength kerning;
219 SVGLength baselineShiftValue;
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableSVGLength.h43 static PassRefPtr<AnimatableSVGLength> create(const SVGLength& length) in create()
48 const SVGLength& toSVGLength() const in toSVGLength()
58 AnimatableSVGLength(const SVGLength& length) in AnimatableSVGLength()
66 SVGLength m_length;
DAnimatableStrokeDasharrayList.cpp39 AnimatableStrokeDasharrayList::AnimatableStrokeDasharrayList(const Vector<SVGLength>& lengths) in AnimatableStrokeDasharrayList()
45 Vector<SVGLength> AnimatableStrokeDasharrayList::toSVGLengthVector() const in toSVGLengthVector()
47 Vector<SVGLength> lengths(m_values.size()); in toSVGLengthVector()
71 SVGLength length; in interpolateTo()
DAnimatableStrokeDasharrayList.h43 static PassRefPtr<AnimatableStrokeDasharrayList> create(const Vector<SVGLength>& lengths) in create()
48 Vector<SVGLength> toSVGLengthVector() const;
54 AnimatableStrokeDasharrayList(const Vector<SVGLength>&);
DAnimatableStrokeDasharrayListTest.cpp44 Vector<SVGLength> vectorA(4); in TEST()
45 Vector<SVGLength> vectorB(4); in TEST()
55 vectorB = Vector<SVGLength>(5); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/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()
165 return SVGLength::toCSSPrimitiveValue(svgStyle->kerning()); in getSVGPropertyCSSValue()
183 return SVGLength::toCSSPrimitiveValue(svgStyle->strokeDashOffset()); in getSVGPropertyCSSValue()
185 return SVGLength::toCSSPrimitiveValue(svgStyle->strokeWidth()); in getSVGPropertyCSSValue()
195 return SVGLength::toCSSPrimitiveValue(svgStyle->baselineShiftValue()); in getSVGPropertyCSSValue()

1234