Home
last modified time | relevance | path

Searched refs:valueAsPercentage (Results 1 – 13 of 13) sorted by relevance

/external/webkit/WebCore/svg/
DSVGFilterElement.cpp151 …filterBBox = FloatRect(x().valueAsPercentage() * objectBoundingBox.width() + objectBoundingBox.x(), in filterBoundingBox()
152 … y().valueAsPercentage() * objectBoundingBox.height() + objectBoundingBox.y(), in filterBoundingBox()
153 width().valueAsPercentage() * objectBoundingBox.width(), in filterBoundingBox()
154 height().valueAsPercentage() * objectBoundingBox.height()); in filterBoundingBox()
171 filterBBox = FloatRect(x().valueAsPercentage(), in buildFilter()
172 y().valueAsPercentage(), in buildFilter()
173 width().valueAsPercentage(), in buildFilter()
174 height().valueAsPercentage()); in buildFilter()
DSVGFilterPrimitiveStandardAttributes.cpp112 effectBBox = FloatRect(x().valueAsPercentage(), in setStandardAttributes()
113 y().valueAsPercentage(), in setStandardAttributes()
114 width().valueAsPercentage(), in setStandardAttributes()
115 height().valueAsPercentage()); in setStandardAttributes()
DSVGRadialGradientElement.cpp124 … focalPoint = FloatPoint(attributes.fx().valueAsPercentage(), attributes.fy().valueAsPercentage()); in buildGradient()
125 …centerPoint = FloatPoint(attributes.cx().valueAsPercentage(), attributes.cy().valueAsPercentage()); in buildGradient()
126 radius = attributes.r().valueAsPercentage(); in buildGradient()
DSVGLinearGradientElement.cpp112 … startPoint = FloatPoint(attributes.x1().valueAsPercentage(), attributes.y1().valueAsPercentage()); in buildGradient()
113 … endPoint = FloatPoint(attributes.x2().valueAsPercentage(), attributes.y2().valueAsPercentage()); in buildGradient()
DSVGMaskElement.cpp157 … maskBBox = FloatRect(x().valueAsPercentage() * objectBoundingBox.width() + objectBoundingBox.x(), in maskBoundingBox()
158 … y().valueAsPercentage() * objectBoundingBox.height() + objectBoundingBox.y(), in maskBoundingBox()
159 width().valueAsPercentage() * objectBoundingBox.width(), in maskBoundingBox()
160 height().valueAsPercentage() * objectBoundingBox.height()); in maskBoundingBox()
DSVGPatternElement.cpp202 patternBoundaries = FloatRect(attributes.x().valueAsPercentage() * targetRect.width(), in buildPattern()
203 attributes.y().valueAsPercentage() * targetRect.height(), in buildPattern()
204 attributes.width().valueAsPercentage() * targetRect.width(), in buildPattern()
205 … attributes.height().valueAsPercentage() * targetRect.height()); in buildPattern()
DSVGLength.h78 float valueAsPercentage() const;
DSVGSVGElement.cpp136 return static_cast<int>(w.valueAsPercentage() * m_containerSize.width()); in relativeWidthValue()
145 return static_cast<int>(h.valueAsPercentage() * m_containerSize.height()); in relativeHeightValue()
DSVGLength.cpp224 float SVGLength::valueAsPercentage() const in valueAsPercentage() function in WebCore::SVGLength
/external/webkit/WebCore/rendering/
DRenderSVGTextPath.cpp68 return static_cast<SVGTextPathElement*>(node())->startOffset().valueAsPercentage(); in startOffset()
/external/webkit/WebCore/
DChangeLog-2006-12-311284 Replace bogus SVGLength::isFraction() method with valueAsPercentage() to fix:
1289 (WebCore::SVGLength::valueAsPercentage): new method
1292 (WebCore::SVGLinearGradientElement::buildGradient): use valueAsPercentage()
1296 (WebCore::SVGRadialGradientElement::buildGradient): use valueAsPercentage()
DChangeLog-2007-10-1420843 (WebCore::SVGLength::valueAsPercentage):
70364 …-> SVGLength::valueAsPercentage() returns again fractional values, saves some "/ 100.0" statements.
70461 (WebCore::SVGLength::valueAsPercentage):
DChangeLog-2008-08-1071186 (WebCore::SVGImage::size): Use valueAsPercentage() for percents