Searched refs:valueAsPercentage (Results 1 – 16 of 16) sorted by relevance
/external/webkit/Source/WebCore/svg/ |
D | SVGFilterPrimitiveStandardAttributes.cpp | 142 effectBBox = FloatRect(x().valueAsPercentage(), in setStandardAttributes() 143 y().valueAsPercentage(), in setStandardAttributes() 144 width().valueAsPercentage(), in setStandardAttributes() 145 height().valueAsPercentage()); in setStandardAttributes()
|
D | SVGRadialGradientElement.cpp | 225 … focalPoint = FloatPoint(attributes.fx().valueAsPercentage(), attributes.fy().valueAsPercentage()); in calculateFocalCenterPointsAndRadius() 226 …centerPoint = FloatPoint(attributes.cx().valueAsPercentage(), attributes.cy().valueAsPercentage()); in calculateFocalCenterPointsAndRadius() 227 radius = attributes.r().valueAsPercentage(); in calculateFocalCenterPointsAndRadius()
|
D | SVGMaskElement.cpp | 185 … maskBBox = FloatRect(x().valueAsPercentage() * objectBoundingBox.width() + objectBoundingBox.x(), in maskBoundingBox() 186 … y().valueAsPercentage() * objectBoundingBox.height() + objectBoundingBox.y(), in maskBoundingBox() 187 width().valueAsPercentage() * objectBoundingBox.width(), in maskBoundingBox() 188 height().valueAsPercentage() * objectBoundingBox.height()); in maskBoundingBox()
|
D | SVGLinearGradientElement.cpp | 204 … startPoint = FloatPoint(attributes.x1().valueAsPercentage(), attributes.y1().valueAsPercentage()); in calculateStartEndPoints() 205 … endPoint = FloatPoint(attributes.x2().valueAsPercentage(), attributes.y2().valueAsPercentage()); in calculateStartEndPoints()
|
D | SVGFilterElement.cpp | 235 …filterBBox = FloatRect(x().valueAsPercentage() * objectBoundingBox.width() + objectBoundingBox.x(), in filterBoundingBox() 236 … y().valueAsPercentage() * objectBoundingBox.height() + objectBoundingBox.y(), in filterBoundingBox() 237 width().valueAsPercentage() * objectBoundingBox.width(), in filterBoundingBox() 238 height().valueAsPercentage() * objectBoundingBox.height()); in filterBoundingBox()
|
D | SVGLength.h | 86 float valueAsPercentage() const;
|
D | SVGSVGElement.cpp | 146 return static_cast<int>(w.valueAsPercentage() * m_containerSize.width()); in relativeWidthValue() 155 return static_cast<int>(h.valueAsPercentage() * m_containerSize.height()); in relativeHeightValue()
|
D | SVGLength.cpp | 241 float SVGLength::valueAsPercentage() const in valueAsPercentage() function in WebCore::SVGLength
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGResourcePattern.cpp | 206 …return FloatRect(attributes.x().valueAsPercentage() * objectBoundingBox.width() + objectBoundingBo… in calculatePatternBoundaries() 207 … attributes.y().valueAsPercentage() * objectBoundingBox.height() + objectBoundingBox.y(), in calculatePatternBoundaries() 208 attributes.width().valueAsPercentage() * objectBoundingBox.width(), in calculatePatternBoundaries() 209 attributes.height().valueAsPercentage() * objectBoundingBox.height()); in calculatePatternBoundaries()
|
D | RenderSVGTextPath.cpp | 67 return static_cast<SVGTextPathElement*>(node())->startOffset().valueAsPercentage(); in startOffset()
|
D | SVGTextLayoutEngineSpacing.cpp | 75 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); in calculateCSSKerningAndSpacing()
|
D | SVGTextLayoutEngineBaseline.cpp | 43 return baselineShiftValueLength.valueAsPercentage() * m_font.pixelSize(); in calculateBaselineShift()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2006-12-31 | 1284 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()
|
D | ChangeLog-2007-10-14 | 20843 (WebCore::SVGLength::valueAsPercentage): 70364 …-> SVGLength::valueAsPercentage() returns again fractional values, saves some "/ 100.0" statements. 70461 (WebCore::SVGLength::valueAsPercentage):
|
D | ChangeLog-2008-08-10 | 71186 (WebCore::SVGImage::size): Use valueAsPercentage() for percents
|
D | ChangeLog-2010-12-06 | 21656 …(WebCore::SVGLength::valueAsPercentage): Use m_valueInSpecifiedUnits instead of valueInSpecifiedUn…
|