radius 53 Source/core/css/BasicShapeFunctions.cpp static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> basicShapeRadiusToCSSValue(CSSValuePool& pool, const RenderStyle& style, const BasicShapeRadius& radius) radius 55 Source/core/css/BasicShapeFunctions.cpp switch (radius.type()) { radius 57 Source/core/css/BasicShapeFunctions.cpp return pool.createValue(radius.value(), style); radius 80 Source/core/css/BasicShapeFunctions.cpp circleValue->setRadius(basicShapeRadiusToCSSValue(pool, style, circle->radius())); radius 186 Source/core/css/BasicShapeFunctions.cpp static BasicShapeRadius cssValueToBasicShapeRadius(const StyleResolverState& state, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) radius 188 Source/core/css/BasicShapeFunctions.cpp if (!radius) radius 191 Source/core/css/BasicShapeFunctions.cpp if (radius->isValueID()) { radius 192 Source/core/css/BasicShapeFunctions.cpp switch (radius->getValueID()) { radius 203 Source/core/css/BasicShapeFunctions.cpp return BasicShapeRadius(convertToLength(state, radius.get())); radius 217 Source/core/css/BasicShapeFunctions.cpp circle->setRadius(cssValueToBasicShapeRadius(state, circleValue->radius())); radius 44 Source/core/css/CSSBasicShapes.cpp static String buildCircleString(const String& radius, const String& centerX, const String& centerY, const String& box) radius 50 Source/core/css/CSSBasicShapes.cpp if (!radius.isNull()) radius 51 Source/core/css/CSSBasicShapes.cpp result.append(radius); radius 54 Source/core/css/CSSBasicShapes.cpp if (!radius.isNull()) radius 347 Source/core/css/CSSBasicShapes.cpp Pair* radius = corner->getPairValue(); radius 348 Source/core/css/CSSBasicShapes.cpp width = radius->first() ? radius->first()->cssText() : String("0"); radius 349 Source/core/css/CSSBasicShapes.cpp if (radius->second()) radius 350 Source/core/css/CSSBasicShapes.cpp height = radius->second()->cssText(); radius 75 Source/core/css/CSSBasicShapes.h CSSPrimitiveValue* radius() const { return m_radius.get(); } radius 79 Source/core/css/CSSBasicShapes.h void setRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_radius = radius; } radius 196 Source/core/css/CSSBasicShapes.h void setTopLeftRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_topLeftRadius = radius; } radius 197 Source/core/css/CSSBasicShapes.h void setTopRightRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_topRightRadius = radius; } radius 198 Source/core/css/CSSBasicShapes.h void setBottomRightRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_bottomRightRadius = radius; } radius 199 Source/core/css/CSSBasicShapes.h void setBottomLeftRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_bottomLeftRadius = radius; } radius 648 Source/core/css/CSSComputedStyleDeclaration.cpp static PassRefPtrWillBeRawPtr<CSSValueList> valuesForBorderRadiusCorner(LengthSize radius, const RenderStyle& style) radius 651 Source/core/css/CSSComputedStyleDeclaration.cpp if (radius.width().type() == Percent) radius 652 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(cssValuePool().createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); radius 654 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(zoomAdjustedPixelValueForLength(radius.width(), style)); radius 655 Source/core/css/CSSComputedStyleDeclaration.cpp if (radius.height().type() == Percent) radius 656 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(cssValuePool().createValue(radius.height().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); radius 658 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(zoomAdjustedPixelValueForLength(radius.height(), style)); radius 662 Source/core/css/CSSComputedStyleDeclaration.cpp static PassRefPtrWillBeRawPtr<CSSValue> valueForBorderRadiusCorner(LengthSize radius, const RenderStyle& style) radius 664 Source/core/css/CSSComputedStyleDeclaration.cpp RefPtrWillBeRawPtr<CSSValueList> list = valuesForBorderRadiusCorner(radius, style); radius 903 Source/core/css/CSSGradientValue.cpp float CSSRadialGradientValue::resolveRadius(CSSPrimitiveValue* radius, const CSSToLengthConversionData& conversionData, float* widthOrHeight) radius 906 Source/core/css/CSSGradientValue.cpp if (radius->isNumber()) // Can the radius be a percentage? radius 907 Source/core/css/CSSGradientValue.cpp result = radius->getFloatValue() * conversionData.zoom(); radius 908 Source/core/css/CSSGradientValue.cpp else if (widthOrHeight && radius->isPercentage()) radius 909 Source/core/css/CSSGradientValue.cpp result = *widthOrHeight * radius->getFloatValue() / 100; radius 911 Source/core/css/CSSGradientValue.cpp result = radius->computeLength<float>(conversionData); radius 4064 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<CSSPrimitiveValue> radius = createPrimitiveNumericValue(value); radius 4067 Source/core/css/parser/CSSPropertyParser.cpp radii[0][i] = radius; radius 4069 Source/core/css/parser/CSSPropertyParser.cpp radii[1][i - indexAfterSlash] = radius.release(); radius 4225 Source/core/css/parser/CSSPropertyParser.cpp if (RefPtrWillBeRawPtr<CSSPrimitiveValue> radius = parseShapeRadius(argument)) { radius 4226 Source/core/css/parser/CSSPropertyParser.cpp shape->setRadius(radius); radius 4273 Source/core/css/parser/CSSPropertyParser.cpp if (RefPtrWillBeRawPtr<CSSPrimitiveValue> radius = parseShapeRadius(argument)) { radius 4275 Source/core/css/parser/CSSPropertyParser.cpp shape->setRadiusX(radius); radius 4277 Source/core/css/parser/CSSPropertyParser.cpp shape->setRadiusY(radius); radius 6208 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<CSSPrimitiveValue> radius = createPrimitiveNumericValue(value); radius 6211 Source/core/css/parser/CSSPropertyParser.cpp radii[0][i] = radius; radius 6219 Source/core/css/parser/CSSPropertyParser.cpp radii[1][i - indexAfterSlash] = radius.release(); radius 157 Source/core/html/HTMLAreaElement.cpp Length radius = m_coords[2]; radius 158 Source/core/html/HTMLAreaElement.cpp float r = min(minimumValueForLength(radius, width).toFloat(), minimumValueForLength(radius, height).toFloat()); radius 254 Source/core/html/canvas/CanvasPathMethods.cpp void CanvasPathMethods::arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) radius 256 Source/core/html/canvas/CanvasPathMethods.cpp if (!std::isfinite(x) || !std::isfinite(y) || !std::isfinite(radius) || !std::isfinite(startAngle) || !std::isfinite(endAngle)) radius 259 Source/core/html/canvas/CanvasPathMethods.cpp if (radius < 0) { radius 260 Source/core/html/canvas/CanvasPathMethods.cpp exceptionState.throwDOMException(IndexSizeError, "The radius provided (" + String::number(radius) + ") is negative."); radius 267 Source/core/html/canvas/CanvasPathMethods.cpp if (!radius || startAngle == endAngle) { radius 269 Source/core/html/canvas/CanvasPathMethods.cpp lineTo(x + radius * cosf(startAngle), y + radius * sinf(startAngle)); radius 275 Source/core/html/canvas/CanvasPathMethods.cpp m_path.addArc(FloatPoint(x, y), radius, startAngle, adjustedEndAngle, anticlockwise); radius 48 Source/core/html/canvas/CanvasPathMethods.h void arcTo(float x0, float y0, float x1, float y1, float radius, ExceptionState&); radius 49 Source/core/html/canvas/CanvasPathMethods.h void arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState&); radius 66 Source/core/html/canvas/CanvasPathMethods.h static void arcTo(CanvasPathMethods& object, float x0, float y0, float x1, float y1, float radius, ExceptionState& es) radius 67 Source/core/html/canvas/CanvasPathMethods.h { object.arcTo(x0, y0, x1, y1, radius, es); } radius 68 Source/core/html/canvas/CanvasPathMethods.h static void arc(CanvasPathMethods& object, float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState& es) radius 69 Source/core/html/canvas/CanvasPathMethods.h { object.arc(x, y, radius, startAngle, endAngle, anticlockwise, es); } radius 39 Source/core/rendering/shapes/RasterShape.cpp MarginIntervalGenerator(unsigned radius); radius 50 Source/core/rendering/shapes/RasterShape.cpp MarginIntervalGenerator::MarginIntervalGenerator(unsigned radius) radius 55 Source/core/rendering/shapes/RasterShape.cpp m_xIntercepts.resize(radius + 1); radius 56 Source/core/rendering/shapes/RasterShape.cpp unsigned radiusSquared = radius * radius; radius 57 Source/core/rendering/shapes/RasterShape.cpp for (unsigned y = 0; y <= radius; y++) radius 55 Source/core/rendering/shapes/Shape.cpp static PassOwnPtr<Shape> createCircleShape(const FloatPoint& center, float radius) radius 57 Source/core/rendering/shapes/Shape.cpp ASSERT(radius >= 0); radius 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))); radius 111 Source/core/rendering/shapes/Shape.cpp float radius = circle->floatValueForRadiusInBox(FloatSize(boxWidth, boxHeight)); radius 114 Source/core/rendering/shapes/Shape.cpp shape = createCircleShape(logicalCenter, radius); radius 74 Source/core/rendering/style/BasicShapes.cpp if (!thisCircle->radius().canBlend(otherCircle->radius())) radius 114 Source/core/rendering/style/BasicShapes.cpp float radius = floatValueForRadiusInBox(boundingBox.size()); radius 116 Source/core/rendering/style/BasicShapes.cpp center.x() - radius + boundingBox.x(), radius 117 Source/core/rendering/style/BasicShapes.cpp center.y() - radius + boundingBox.y(), radius 118 Source/core/rendering/style/BasicShapes.cpp radius * 2, radius 119 Source/core/rendering/style/BasicShapes.cpp radius * 2 radius 131 Source/core/rendering/style/BasicShapes.cpp result->setRadius(m_radius.blend(o->radius(), progress)); radius 143 Source/core/rendering/style/BasicShapes.cpp float BasicShapeEllipse::floatValueForRadiusInBox(const BasicShapeRadius& radius, float center, float boxWidthOrHeight) const radius 145 Source/core/rendering/style/BasicShapes.cpp if (radius.type() == BasicShapeRadius::Value) radius 146 Source/core/rendering/style/BasicShapes.cpp return floatValueForLength(radius.value(), boxWidthOrHeight); radius 148 Source/core/rendering/style/BasicShapes.cpp if (radius.type() == BasicShapeRadius::ClosestSide) radius 151 Source/core/rendering/style/BasicShapes.cpp ASSERT(radius.type() == BasicShapeRadius::FarthestSide); radius 166 Source/core/rendering/style/BasicShapes.h const BasicShapeRadius& radius() const { return m_radius; } radius 171 Source/core/rendering/style/BasicShapes.h void setRadius(BasicShapeRadius radius) { m_radius = radius; } radius 267 Source/core/rendering/style/BasicShapes.h void setTopLeftRadius(LengthSize radius) { m_topLeftRadius = radius; } radius 268 Source/core/rendering/style/BasicShapes.h void setTopRightRadius(LengthSize radius) { m_topRightRadius = radius; } radius 269 Source/core/rendering/style/BasicShapes.h void setBottomRightRadius(LengthSize radius) { m_bottomRightRadius = radius; } radius 270 Source/core/rendering/style/BasicShapes.h void setBottomLeftRadius(LengthSize radius) { m_bottomLeftRadius = radius; } radius 83 Source/core/rendering/svg/RenderSVGEllipse.cpp float radius = circle.r()->currentValue()->value(lengthContext); radius 84 Source/core/rendering/svg/RenderSVGEllipse.cpp m_radii = FloatSize(radius, radius); radius 72 Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp this->radius(m_attributes)); radius 48 Source/core/rendering/svg/RenderSVGResourceRadialGradient.h float radius(const RadialGradientAttributes&) const; radius 568 Source/core/rendering/svg/SVGRenderTreeAsText.cpp float radius = gradient->radius(attributes); radius 571 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << " [center=" << centerPoint << "] [focal=" << focalPoint << "] [radius=" << radius << "] [focalRadius=" << focalRadius << "]\n"; radius 1139 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); radius 1140 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); radius 1145 Source/core/testing/Internals.cpp bool foundNode = document->frame()->eventHandler().bestClickableNodeForTouchPoint(point, radius, adjustedPoint, targetNode); radius 1161 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); radius 1162 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); radius 1166 Source/core/testing/Internals.cpp document->frame()->eventHandler().bestClickableNodeForTouchPoint(point, radius, adjustedPoint, targetNode); radius 1179 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); radius 1180 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); radius 1185 Source/core/testing/Internals.cpp bool foundNode = document->frame()->eventHandler().bestContextMenuNodeForTouchPoint(point, radius, adjustedPoint, targetNode); radius 1201 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); radius 1202 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); radius 1206 Source/core/testing/Internals.cpp document->frame()->eventHandler().bestContextMenuNodeForTouchPoint(point, radius, adjustedPoint, targetNode); radius 1219 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); radius 1220 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); radius 1224 Source/core/testing/Internals.cpp bool foundNode = document->frame()->eventHandler().bestZoomableAreaForTouchPoint(point, radius, zoomableArea, targetNode); radius 182 Source/platform/geometry/FloatQuad.cpp static inline bool lineIntersectsCircle(const FloatPoint& center, float radius, const FloatPoint& p0, const FloatPoint& p1) radius 186 Source/platform/geometry/FloatQuad.cpp float radius2 = radius * radius; radius 208 Source/platform/geometry/FloatQuad.cpp bool FloatQuad::intersectsCircle(const FloatPoint& center, float radius) const radius 211 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p1, m_p2) radius 212 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p2, m_p3) radius 213 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p3, m_p4) radius 214 Source/platform/geometry/FloatQuad.cpp || lineIntersectsCircle(center, radius, m_p4, m_p1); radius 97 Source/platform/geometry/FloatQuad.h bool intersectsCircle(const FloatPoint& center, float radius) const; radius 305 Source/platform/graphics/Path.cpp void Path::addArcTo(const FloatPoint& p1, const FloatPoint& p2, float radius) radius 307 Source/platform/graphics/Path.cpp m_path.arcTo(p1, p2, WebCoreFloatToSkScalar(radius)); radius 353 Source/platform/graphics/Path.cpp void Path::addArc(const FloatPoint& p, float radius, float startAngle, float endAngle, bool anticlockwise) radius 355 Source/platform/graphics/Path.cpp addEllipse(p, radius, radius, startAngle, endAngle, anticlockwise); radius 398 Source/platform/graphics/Path.cpp FloatSize radius(roundingRadii); radius 406 Source/platform/graphics/Path.cpp if (radius.width() < 0) radius 407 Source/platform/graphics/Path.cpp radius.setWidth((radius.height() < 0) ? 0 : radius.height()); radius 409 Source/platform/graphics/Path.cpp if (radius.height() < 0) radius 410 Source/platform/graphics/Path.cpp radius.setHeight(radius.width()); radius 412 Source/platform/graphics/Path.cpp if (radius.width() > halfSize.width()) radius 413 Source/platform/graphics/Path.cpp radius.setWidth(halfSize.width()); radius 415 Source/platform/graphics/Path.cpp if (radius.height() > halfSize.height()) radius 416 Source/platform/graphics/Path.cpp radius.setHeight(halfSize.height()); radius 418 Source/platform/graphics/Path.cpp addPathForRoundedRect(rect, radius, radius, radius, radius); radius 122 Source/platform/graphics/Path.h void addArcTo(const FloatPoint&, const FloatPoint&, float radius); radius 125 Source/platform/graphics/Path.h void addArc(const FloatPoint&, float radius, float startAngle, float endAngle, bool anticlockwise);