Home
last modified time | relevance | path

Searched refs:centerPoint (Results 1 – 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGResourceRadialGradient.cpp54 FloatPoint centerPoint; in buildGradient() local
56 …radientElement->calculateFocalCenterPointsAndRadius(m_attributes, focalPoint, centerPoint, radius); in buildGradient()
60 centerPoint, in buildGradient()
DSVGRenderTreeAsText.cpp634 FloatPoint centerPoint; in writeSVGResourceContainer() local
636 …lGradientElement->calculateFocalCenterPointsAndRadius(attributes, focalPoint, centerPoint, radius); in writeSVGResourceContainer()
638 … ts << " [center=" << centerPoint << "] [focal=" << focalPoint << "] [radius=" << radius << "]\n"; in writeSVGResourceContainer()
/external/webkit/Source/WebCore/svg/
DSVGRadialGradientElement.cpp221 …dialGradientAttributes& attributes, FloatPoint& focalPoint, FloatPoint& centerPoint, float& radius) in calculateFocalCenterPointsAndRadius() argument
226centerPoint = FloatPoint(attributes.cx().valueAsPercentage(), attributes.cy().valueAsPercentage()); in calculateFocalCenterPointsAndRadius()
230 centerPoint = FloatPoint(attributes.cx().value(this), attributes.cy().value(this)); in calculateFocalCenterPointsAndRadius()
235 float deltaX = focalPoint.x() - centerPoint.x(); in calculateFocalCenterPointsAndRadius()
236 float deltaY = focalPoint.y() - centerPoint.y(); in calculateFocalCenterPointsAndRadius()
247 focalPoint = FloatPoint(deltaX + centerPoint.x(), deltaY + centerPoint.y()); in calculateFocalCenterPointsAndRadius()
DSVGPathParser.cpp442 FloatPoint centerPoint = FloatPoint(0.5f * (point1.x() + point2.x()) - delta.height(), in decomposeArcToCubic() local
445 float theta1 = atan2f(point1.y() - centerPoint.y(), point1.x() - centerPoint.x()); in decomposeArcToCubic()
446 float theta2 = atan2f(point2.y() - centerPoint.y(), point2.x() - centerPoint.x()); in decomposeArcToCubic()
474 point1.move(centerPoint.x(), centerPoint.y()); in decomposeArcToCubic()
476 targetPoint.move(centerPoint.x(), centerPoint.y()); in decomposeArcToCubic()
DSVGRadialGradientElement.h37 …s(const RadialGradientAttributes&, FloatPoint& focalPoint, FloatPoint& centerPoint, float& radius);
/external/webkit/Tools/QtTestBrowser/
Dwebview.cpp174 QPointF centerPoint = QPointF(center.width(), center.height()); in animatedFlip() local
175 graphicsWebView()->setTransformOriginPoint(centerPoint); in animatedFlip()
/external/webkit/Source/WebCore/rendering/
DRenderBoxModelObject.cpp1934 …atPoint& outerCorner, const FloatPoint& innerCorner, const FloatPoint& centerPoint, FloatPoint& re… in findInnerVertex() argument
1940 …findIntersection(outerCorner, innerCorner, FloatPoint(centerPoint.x(), 0), FloatPoint(centerPoint.… in findInnerVertex()
1942 …dIntersection(outerCorner, innerCorner, FloatPoint(0, centerPoint.y()), FloatPoint(100, centerPoin… in findInnerVertex()
1953 …FloatPoint centerPoint(innerRect.location().x() + static_cast<float>(innerRect.width()) / 2, inner… in clipBorderSidePolygon() local
1977 … findInnerVertex(outerRect.minXMinYCorner(), innerRect.minXMinYCorner(), centerPoint, quad[1]); in clipBorderSidePolygon()
1980 … findInnerVertex(outerRect.maxXMinYCorner(), innerRect.maxXMinYCorner(), centerPoint, quad[2]); in clipBorderSidePolygon()
1990 … findInnerVertex(outerRect.minXMinYCorner(), innerRect.minXMinYCorner(), centerPoint, quad[1]); in clipBorderSidePolygon()
1993 … findInnerVertex(outerRect.minXMaxYCorner(), innerRect.minXMaxYCorner(), centerPoint, quad[2]); in clipBorderSidePolygon()
2003 … findInnerVertex(outerRect.minXMaxYCorner(), innerRect.minXMaxYCorner(), centerPoint, quad[1]); in clipBorderSidePolygon()
2006 … findInnerVertex(outerRect.maxXMaxYCorner(), innerRect.maxXMaxYCorner(), centerPoint, quad[2]); in clipBorderSidePolygon()
[all …]
DHitTestResult.h53 …HitTestResult(const IntPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bo…
DHitTestResult.cpp74 HitTestResult::HitTestResult(const IntPoint& centerPoint, unsigned topPadding, unsigned rightPaddin… in HitTestResult() argument
75 : m_point(centerPoint) in HitTestResult()
DRenderInline.cpp1140 IntPoint centerPoint = roundedIntPoint(transformState.mappedPoint()); in mapLocalToContainer() local
1142 …->flipForWritingModeIncludingColumns(roundedIntPoint(transformState.mappedPoint())) - centerPoint); in mapLocalToContainer()
DRenderObject.cpp1867 IntPoint centerPoint = roundedIntPoint(transformState.mappedPoint()); in mapLocalToContainer() local
1869 …->flipForWritingModeIncludingColumns(roundedIntPoint(transformState.mappedPoint())) - centerPoint); in mapLocalToContainer()
/external/webkit/Source/WebCore/platform/graphics/texmap/
DTextureMapperNode.cpp407 const FloatPoint centerPoint = FloatPoint(m_size.width() / 2, m_size.height() / 2); in computeTransformations() local
410 .translate(centerPoint.x(), centerPoint.y()) in computeTransformations()
412 .translate(-centerPoint.x(), -centerPoint.y()); in computeTransformations()
/external/webkit/Source/WebCore/platform/graphics/wince/
DPlatformPathWinCE.cpp695 PathPoint centerPoint; in addArcTo() local
697 centerPoint.m_x = p1.m_x + vm1.m_x * rate; in addArcTo()
698 centerPoint.m_y = p1.m_y + vm1.m_y * rate; in addArcTo()
702 centerPoint, in addArcTo()
DGraphicsContextWinCE.cpp1249 IntPoint centerPoint = rectCenterPoint(rectWin); in fillRoundedRect() local
1252 clipRect.right = centerPoint.x(); in fillRoundedRect()
1253 clipRect.bottom = centerPoint.y(); in fillRoundedRect()
1262 clipRect.left = centerPoint.x(); in fillRoundedRect()
1263 clipRect.bottom = centerPoint.y(); in fillRoundedRect()
1269 clipRect.right = centerPoint.x(); in fillRoundedRect()
1270 clipRect.top = centerPoint.y(); in fillRoundedRect()
1276 clipRect.left = centerPoint.x(); in fillRoundedRect()
1277 clipRect.top = centerPoint.y(); in fillRoundedRect()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DGraphicsLayerChromium.cpp514 FloatPoint centerPoint(m_size.width() / 2, m_size.height() / 2); in updateLayerSize() local
515 m_layer->setPosition(centerPoint); in updateLayerSize()
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsLayerCACF.cpp528 CGPoint centerPoint = CGPointMake(m_size.width() / 2.0f, m_size.height() / 2.0f); in updateLayerSize() local
529 m_layer->setPosition(centerPoint); in updateLayerSize()
/external/webkit/Source/WebCore/platform/graphics/ca/
DGraphicsLayerCA.cpp991 CGPoint centerPoint = CGPointMake(m_size.width() / 2.0f, m_size.height() / 2.0f); in updateLayerSize() local
992 m_layer->setPosition(centerPoint); in updateLayerSize()
997 it->second->setPosition(centerPoint); in updateLayerSize()