center 43 Source/core/css/BasicShapeFunctions.cpp static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> valueForCenterCoordinate(CSSValuePool& pool, const RenderStyle& style, const BasicShapeCenterCoordinate& center, EBoxOrient orientation) center 45 Source/core/css/BasicShapeFunctions.cpp if (center.direction() == BasicShapeCenterCoordinate::TopLeft) center 46 Source/core/css/BasicShapeFunctions.cpp return pool.createValue(center.length(), style); center 50 Source/core/css/BasicShapeFunctions.cpp return pool.createValue(Pair::create(pool.createIdentifierValue(keyword), pool.createValue(center.length(), style), Pair::DropIdenticalValues)); center 231 Source/core/html/canvas/CanvasPathMethods.cpp FloatPoint center(x, y); center 235 Source/core/html/canvas/CanvasPathMethods.cpp lineToFloatPoint(path, center + rotationMatrix.mapPoint(getPointOnEllipse(radiusX, radiusY, startAngle))); center 243 Source/core/html/canvas/CanvasPathMethods.cpp lineToFloatPoint(path, center + rotationMatrix.mapPoint(getPointOnEllipse(radiusX, radiusY, angle))); center 246 Source/core/html/canvas/CanvasPathMethods.cpp lineToFloatPoint(path, center + rotationMatrix.mapPoint(getPointOnEllipse(radiusX, radiusY, angle))); center 249 Source/core/html/canvas/CanvasPathMethods.cpp lineToFloatPoint(path, center + rotationMatrix.mapPoint(getPointOnEllipse(radiusX, radiusY, endAngle))); center 124 Source/core/page/SpatialNavigation.cpp LayoutPoint center(rect.center()); center 125 Source/core/page/SpatialNavigation.cpp return isHorizontalMove(type) ? center.y(): center.x(); center 400 Source/core/page/TouchAdjustment.cpp adjustedPoint = bounds.center(); center 424 Source/core/page/TouchAdjustment.cpp FloatPoint center = quad.center(); center 426 Source/core/page/TouchAdjustment.cpp adjustPointToRect(center, touchArea); center 427 Source/core/page/TouchAdjustment.cpp adjustedPoint = roundedIntPoint(center); center 97 Source/core/page/TouchDisambiguation.cpp IntPoint touchPoint = touchBox.center(); center 32 Source/core/rendering/GapRects.h const LayoutRect& center() const { return m_center; } center 38 Source/core/rendering/GapRects.h void unite(const GapRects& o) { uniteLeft(o.left()); uniteCenter(o.center()); uniteRight(o.right()); } center 50 Source/core/rendering/GapRects.h return m_left == other.left() && m_center == other.center() && m_right == other.right(); center 399 Source/core/rendering/RenderFlowThread.cpp LayoutPoint center = boxRect.center(); center 400 Source/core/rendering/RenderFlowThread.cpp RenderRegion* renderRegion = const_cast<RenderFlowThread*>(this)->regionAtBlockOffset(isHorizontalWritingMode() ? center.y() : center.x(), true, DisallowRegionAutoGeneration); center 160 Source/core/rendering/RenderGeometryMap.cpp TransformState transformState(TransformState::ApplyTransformDirection, rect.center(), rect); center 2241 Source/core/rendering/RenderObject.cpp TransformState transformState(TransformState::UnapplyInverseTransformDirection, quad.boundingBox().center(), quad); center 2336 Source/core/rendering/RenderObject.cpp TransformState transformState(TransformState::ApplyTransformDirection, localQuad.boundingBox().center(), localQuad); center 55 Source/core/rendering/shapes/Shape.cpp static PassOwnPtr<Shape> createCircleShape(const FloatPoint& center, float radius) center 58 Source/core/rendering/shapes/Shape.cpp return adoptPtr(new RectangleShape(FloatRect(center.x() - radius, center.y() - radius, radius*2, radius*2), FloatSize(radius, radius))); center 61 Source/core/rendering/shapes/Shape.cpp static PassOwnPtr<Shape> createEllipseShape(const FloatPoint& center, const FloatSize& radii) center 64 Source/core/rendering/shapes/Shape.cpp return adoptPtr(new RectangleShape(FloatRect(center.x() - radii.width(), center.y() - radii.height(), radii.width()*2, radii.height()*2), radii)); center 110 Source/core/rendering/shapes/Shape.cpp FloatPoint center = floatPointForCenterCoordinate(circle->centerX(), circle->centerY(), FloatSize(boxWidth, boxHeight)); center 112 Source/core/rendering/shapes/Shape.cpp FloatPoint logicalCenter = physicalPointToLogical(center, logicalBoxSize.height().toFloat(), writingMode); center 120 Source/core/rendering/shapes/Shape.cpp FloatPoint center = floatPointForCenterCoordinate(ellipse->centerX(), ellipse->centerY(), FloatSize(boxWidth, boxHeight)); center 121 Source/core/rendering/shapes/Shape.cpp float radiusX = ellipse->floatValueForRadiusInBox(ellipse->radiusX(), center.x(), boxWidth); center 122 Source/core/rendering/shapes/Shape.cpp float radiusY = ellipse->floatValueForRadiusInBox(ellipse->radiusY(), center.y(), boxHeight); center 123 Source/core/rendering/shapes/Shape.cpp FloatPoint logicalCenter = physicalPointToLogical(center, logicalBoxSize.height().toFloat(), writingMode); center 101 Source/core/rendering/style/BasicShapes.cpp FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boxSize); center 104 Source/core/rendering/style/BasicShapes.cpp return std::min(std::min(center.x(), boxSize.width() - center.x()), std::min(center.y(), boxSize.height() - center.y())); center 107 Source/core/rendering/style/BasicShapes.cpp return std::max(std::max(center.x(), boxSize.width() - center.x()), std::max(center.y(), boxSize.height() - center.y())); center 113 Source/core/rendering/style/BasicShapes.cpp FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boundingBox.size()); center 116 Source/core/rendering/style/BasicShapes.cpp center.x() - radius + boundingBox.x(), center 117 Source/core/rendering/style/BasicShapes.cpp center.y() - radius + boundingBox.y(), center 143 Source/core/rendering/style/BasicShapes.cpp float BasicShapeEllipse::floatValueForRadiusInBox(const BasicShapeRadius& radius, float center, float boxWidthOrHeight) const center 149 Source/core/rendering/style/BasicShapes.cpp return std::min(center, boxWidthOrHeight - center); center 152 Source/core/rendering/style/BasicShapes.cpp return std::max(center, boxWidthOrHeight - center); center 158 Source/core/rendering/style/BasicShapes.cpp FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boundingBox.size()); center 159 Source/core/rendering/style/BasicShapes.cpp float radiusX = floatValueForRadiusInBox(m_radiusX, center.x(), boundingBox.width()); center 160 Source/core/rendering/style/BasicShapes.cpp float radiusY = floatValueForRadiusInBox(m_radiusY, center.y(), boundingBox.height()); center 162 Source/core/rendering/style/BasicShapes.cpp center.x() - radiusX + boundingBox.x(), center 163 Source/core/rendering/style/BasicShapes.cpp center.y() - radiusY + boundingBox.y(), center 196 Source/core/rendering/style/BasicShapes.h float floatValueForRadiusInBox(const BasicShapeRadius&, float center, float boxWidthOrHeight) const; center 127 Source/core/rendering/svg/RenderSVGEllipse.cpp FloatPoint center = FloatPoint(m_center.x() - point.x(), m_center.y() - point.y()); center 131 Source/core/rendering/svg/RenderSVGEllipse.cpp float xrXOuter = center.x() / (m_radii.width() + halfStrokeWidth); center 132 Source/core/rendering/svg/RenderSVGEllipse.cpp float yrYOuter = center.y() / (m_radii.height() + halfStrokeWidth); center 136 Source/core/rendering/svg/RenderSVGEllipse.cpp float xrXInner = center.x() / (m_radii.width() - halfStrokeWidth); center 137 Source/core/rendering/svg/RenderSVGEllipse.cpp float yrYInner = center.y() / (m_radii.height() - halfStrokeWidth); center 146 Source/core/rendering/svg/RenderSVGEllipse.cpp FloatPoint center = FloatPoint(m_center.x() - point.x(), m_center.y() - point.y()); center 150 Source/core/rendering/svg/RenderSVGEllipse.cpp float xrX = center.x() / m_radii.width(); center 151 Source/core/rendering/svg/RenderSVGEllipse.cpp float yrY = center.y() / m_radii.height(); center 55 Source/core/svg/SVGTransform.cpp SVGTransform::SVGTransform(SVGTransformType transformType, float angle, const FloatPoint& center, const AffineTransform& matrix) center 59 Source/core/svg/SVGTransform.cpp , m_center(center) center 180 Source/core/svg/SVGTransformDistance.cpp FloatPoint center = transform->rotationCenter(); center 181 Source/core/svg/SVGTransformDistance.cpp newTransform->setRotate(transform->angle() + m_angle, center.x() + m_cx, center.y() + m_cy); center 182 Source/platform/geometry/FloatQuad.cpp static inline bool lineIntersectsCircle(const FloatPoint& center, float radius, const FloatPoint& p0, const FloatPoint& p1) center 184 Source/platform/geometry/FloatQuad.cpp float x0 = p0.x() - center.x(), y0 = p0.y() - center.y(); center 185 Source/platform/geometry/FloatQuad.cpp float x1 = p1.x() - center.x(), y1 = p1.y() - center.y(); center 208 Source/platform/geometry/FloatQuad.cpp bool FloatQuad::intersectsCircle(const FloatPoint& center, float radius) const center 210 Source/platform/geometry/FloatQuad.cpp return containsPoint(center) // The circle may be totally contained by the quad. center 211 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p1, m_p2) center 212 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p2, m_p3) center 213 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p3, m_p4) center 214 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p4, m_p1); center 217 Source/platform/geometry/FloatQuad.cpp bool FloatQuad::intersectsEllipse(const FloatPoint& center, const FloatSize& radii) const center 222 Source/platform/geometry/FloatQuad.cpp transformedQuad.move(-center.x(), -center.y()); center 97 Source/platform/geometry/FloatQuad.h bool intersectsCircle(const FloatPoint& center, float radius) const; center 98 Source/platform/geometry/FloatQuad.h bool intersectsEllipse(const FloatPoint& center, const FloatSize& radii) const; center 101 Source/platform/geometry/FloatQuad.h FloatPoint center() const center 89 Source/platform/geometry/FloatRect.h FloatPoint center() const { return FloatPoint(x() + width() / 2, y() + height() / 2); } center 83 Source/platform/geometry/IntRect.h IntPoint center() const { return IntPoint(x() + width() / 2, y() + height() / 2); } center 88 Source/platform/geometry/LayoutRect.h LayoutPoint center() const { return LayoutPoint(x() + width() / 2, y() + height() / 2); } center 206 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.x() + topLeft.width(), m_rect.y() + topLeft.height()); center 208 Source/platform/geometry/RoundedRect.cpp if (!quad.intersectsEllipse(center, size)) center 217 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.maxX() - topRight.width(), m_rect.y() + topRight.height()); center 219 Source/platform/geometry/RoundedRect.cpp if (!quad.intersectsEllipse(center, size)) center 228 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.x() + bottomLeft.width(), m_rect.maxY() - bottomLeft.height()); center 230 Source/platform/geometry/RoundedRect.cpp if (!quad.intersectsEllipse(center, size)) center 239 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height()); center 241 Source/platform/geometry/RoundedRect.cpp if (!quad.intersectsEllipse(center, size)) center 75 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 80 Source/platform/graphics/filters/FELighting.cpp normalVector.setX(-(center << 1) + (right << 1) - bottom + bottomRight); center 81 Source/platform/graphics/filters/FELighting.cpp normalVector.setY(-(center << 1) - right + (bottom << 1) + bottomRight); center 87 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 94 Source/platform/graphics/filters/FELighting.cpp normalVector.setY(-left - (center << 1) - right + bottomLeft + (bottom << 1) + bottomRight); center 100 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 104 Source/platform/graphics/filters/FELighting.cpp normalVector.setX(-(left << 1) + (center << 1) - bottomLeft + bottom); center 105 Source/platform/graphics/filters/FELighting.cpp normalVector.setY(-left - (center << 1) + bottomLeft + (bottom << 1)); center 110 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 118 Source/platform/graphics/filters/FELighting.cpp normalVector.setX(-top + topRight - (center << 1) + (right << 1) - bottom + bottomRight); center 141 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 148 Source/platform/graphics/filters/FELighting.cpp normalVector.setX(-topLeft + top - (left << 1) + (center << 1) - bottomLeft + bottom); center 154 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 159 Source/platform/graphics/filters/FELighting.cpp normalVector.setX(-top + topRight - (center << 1) + (right << 1)); center 160 Source/platform/graphics/filters/FELighting.cpp normalVector.setY(-(top << 1) - topRight + (center << 1) + right); center 166 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 173 Source/platform/graphics/filters/FELighting.cpp normalVector.setY(-topLeft - (top << 1) - topRight + left + (center << 1) + right); center 179 Source/platform/graphics/filters/FELighting.cpp int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); center 183 Source/platform/graphics/filters/FELighting.cpp normalVector.setX(-topLeft + top - (left << 1) + (center << 1)); center 184 Source/platform/graphics/filters/FELighting.cpp normalVector.setY(-topLeft - (top << 1) + left + (center << 1)); center 54 Source/platform/mediastream/MediaStreamCenter.cpp DEFINE_STATIC_LOCAL(MediaStreamCenter, center, ()); center 55 Source/platform/mediastream/MediaStreamCenter.cpp return center; center 538 Source/web/TextFinder.cpp FloatSize offset = point - m_findMatchesCache[i].m_rect.center(); center 505 Source/web/WebPluginContainerImpl.cpp LayoutPoint center = documentRect.center(); center 508 Source/web/WebPluginContainerImpl.cpp HitTestResult result = frame->eventHandler().hitTestResultAtPoint(center, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent, padding); center 220 Source/web/tests/TouchActionTest.cpp clientPoint = clientRect.center(); center 3209 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(mainFrame->selectNearestFindMatch(resultRect.center(), 0), resultIndex + 1); center 946 Source/web/tests/WebViewTest.cpp WebCore::IntPoint center = element->screenRect().center(); center 950 Source/web/tests/WebViewTest.cpp event.x = center.x(); center 951 Source/web/tests/WebViewTest.cpp event.y = center.y();