Home | History | Annotate | Download | only in style

Lines Matching refs:Radii

758 static RoundedIntRect::Radii calcRadiiFor(const BorderData& border, int width, int height)
760 return RoundedIntRect::Radii(IntSize(border.topLeft().width().calcValue(width),
770 static float calcConstraintScaleFor(const IntRect& rect, const RoundedIntRect::Radii& radii)
772 // Constrain corner radii using CSS3 rules:
779 radiiSum = static_cast<unsigned>(radii.topLeft().width()) + static_cast<unsigned>(radii.topRight().width()); // Casts to avoid integer overflow.
784 radiiSum = static_cast<unsigned>(radii.bottomLeft().width()) + static_cast<unsigned>(radii.bottomRight().width());
789 radiiSum = static_cast<unsigned>(radiiradii.bottomLeft().height());
794 radiiSum = static_cast<unsigned>(radii.topRight().height()) + static_cast<unsigned>(radii.bottomRight().height());
806 RoundedIntRect::Radii radii = calcRadiiFor(surround->border, borderRect.width(), borderRect.height());
807 radii.scale(calcConstraintScaleFor(borderRect, radii));
808 roundedRect.includeLogicalEdges(radii, isHorizontalWritingMode(), includeLogicalLeftEdge, includeLogicalRightEdge);
836 RoundedIntRect::Radii radii = getRoundedBorderFor(borderRect).radii();
837 radii.shrink(topWidth, bottomWidth, leftWidth, rightWidth);
838 roundedRect.includeLogicalEdges(radii, isHorizontalWritingMode(), includeLogicalLeftEdge, includeLogicalRightEdge);