Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/svg/
DSVGFilterPrimitiveStandardAttributes.cpp142 effectBBox = FloatRect(x().valueAsPercentage(), in setStandardAttributes()
143 y().valueAsPercentage(), in setStandardAttributes()
144 width().valueAsPercentage(), in setStandardAttributes()
145 height().valueAsPercentage()); in setStandardAttributes()
DSVGRadialGradientElement.cpp225 … 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()
DSVGMaskElement.cpp185 … 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()
DSVGLinearGradientElement.cpp204 … startPoint = FloatPoint(attributes.x1().valueAsPercentage(), attributes.y1().valueAsPercentage()); in calculateStartEndPoints()
205 … endPoint = FloatPoint(attributes.x2().valueAsPercentage(), attributes.y2().valueAsPercentage()); in calculateStartEndPoints()
DSVGFilterElement.cpp235 …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()
DSVGLength.h86 float valueAsPercentage() const;
DSVGSVGElement.cpp146 return static_cast<int>(w.valueAsPercentage() * m_containerSize.width()); in relativeWidthValue()
155 return static_cast<int>(h.valueAsPercentage() * m_containerSize.height()); in relativeHeightValue()
DSVGLength.cpp241 float SVGLength::valueAsPercentage() const in valueAsPercentage() function in WebCore::SVGLength
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGResourcePattern.cpp206 …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()
DRenderSVGTextPath.cpp67 return static_cast<SVGTextPathElement*>(node())->startOffset().valueAsPercentage(); in startOffset()
DSVGTextLayoutEngineSpacing.cpp75 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); in calculateCSSKerningAndSpacing()
DSVGTextLayoutEngineBaseline.cpp43 return baselineShiftValueLength.valueAsPercentage() * m_font.pixelSize(); in calculateBaselineShift()
/external/webkit/Source/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
DChangeLog-2010-12-0621656 …(WebCore::SVGLength::valueAsPercentage): Use m_valueInSpecifiedUnits instead of valueInSpecifiedUn…