Home | History | Annotate | Download | only in rendering

Lines Matching defs:innerBorder

1515 void RenderBoxModelObject::paintOneBorderSide(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedRect& outerBorder, const RoundedRect& innerBorder,
1534 if (innerBorder.isRenderable())
1535 clipBorderSidePolygon(graphicsContext, outerBorder, innerBorder, side, adjacentSide1StylesMatch, adjacentSide2StylesMatch);
1537 clipBorderSideForComplexInnerPath(graphicsContext, outerBorder, innerBorder, side, edges);
1551 clipBorderSidePolygon(graphicsContext, outerBorder, innerBorder, side, !aliasAdjacentSide1, !aliasAdjacentSide2);
1579 void RenderBoxModelObject::paintBorderSides(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedRect& outerBorder, const RoundedRect& innerBorder,
1598 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSTop].style) || borderWillArcInnerEdge(innerBorder.radii().topLeft(), innerBorder.radii().topRight()));
1599 paintOneBorderSide(graphicsContext, style, outerBorder, innerBorder, sideRect, BSTop, BSLeft, BSRight, edges, usePath ? &roundedPath : 0, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge, antialias, overrideColor);
1606 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSBottom].style) || borderWillArcInnerEdge(innerBorder.radii().bottomLeft(), innerBorder.radii().bottomRight()));
1607 paintOneBorderSide(graphicsContext, style, outerBorder, innerBorder, sideRect, BSBottom, BSLeft, BSRight, edges, usePath ? &roundedPath : 0, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge, antialias, overrideColor);
1614 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSLeft].style) || borderWillArcInnerEdge(innerBorder.radii().bottomLeft(), innerBorder.radii().topLeft()));
1615 paintOneBorderSide(graphicsContext, style, outerBorder, innerBorder, sideRect, BSLeft, BSTop, BSBottom, edges, usePath ? &roundedPath : 0, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge, antialias, overrideColor);
1622 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSRight].style) || borderWillArcInnerEdge(innerBorder.radii().bottomRight(), innerBorder.radii().topRight()));
1623 paintOneBorderSide(graphicsContext, style, outerBorder, innerBorder, sideRect, BSRight, BSTop, BSBottom, edges, usePath ? &roundedPath : 0, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge, antialias, overrideColor);
1627 void RenderBoxModelObject::paintTranslucentBorderSides(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedRect& outerBorder, const RoundedRect& innerBorder, const IntPoint& innerBorderAdjustment,
1661 paintBorderSides(graphicsContext, style, outerBorder, innerBorder, innerBorderAdjustment, edges, commonColorEdgeSet, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge, antialias, &commonColor);
1684 RoundedRect innerBorder = style->getRoundedInnerBorderFor(borderInnerRectAdjustedForBleedAvoidance(graphicsContext, rect, bleedAvoidance), includeLogicalLeftEdge, includeLogicalRightEdge);
1732 if ((haveAllSolidEdges || haveAllDoubleEdges) && allEdgesShareColor && innerBorder.isRenderable()) {
1735 && (haveAllSolidEdges || (!outerBorder.isRounded() && !innerBorder.isRounded()))) {
1767 RoundedRect innerThird = innerBorder;
1782 if (innerBorder.isRounded())
1783 path.addRoundedRect(innerBorder);
1785 path.addRect(innerBorder.rect());
1819 if (innerBorder.isRenderable())
1820 graphicsContext->clipOutRoundedRect(innerBorder);
1825 RoundedRect unadjustedInnerBorder = (bleedAvoidance == BackgroundBleedBackgroundOverBorder) ? style->getRoundedInnerBorderFor(rect, includeLogicalLeftEdge, includeLogicalRightEdge) : innerBorder;
1826 IntPoint innerBorderAdjustment(innerBorder.rect().x() - unadjustedInnerBorder.rect().x(), innerBorder.rect().y() - unadjustedInnerBorder.rect().y());
1985 void RenderBoxModelObject::clipBorderSidePolygon(GraphicsContext* graphicsContext, const RoundedRect& outerBorder, const RoundedRect& innerBorder,
1991 const LayoutRect& innerRect = innerBorder.rect();
1996 // including areas inside the innerBorder.
2016 if (!innerBorder.radii().topLeft().isZero()) {
2019 quad[1].x() + innerBorder.radii().topLeft().width(),
2023 quad[1].y() + innerBorder.radii().topLeft().height()),
2027 if (!innerBorder.radii().topRight().isZero()) {
2030 quad[2].x() - innerBorder.radii().topRight().width(),
2034 quad[2].y() + innerBorder.radii().topRight().height()),
2045 if (!innerBorder.radii().topLeft().isZero()) {
2048 quad[1].x() + innerBorder.radii().topLeft().width(),
2052 quad[1].y() + innerBorder.radii().topLeft().height()),
2056 if (!innerBorder.radii().bottomLeft().isZero()) {
2059 quad[2].x() + innerBorder.radii().bottomLeft().width(),
2063 quad[2].y() - innerBorder.radii().bottomLeft().height()),
2074 if (!innerBorder.radii().bottomLeft().isZero()) {
2077 quad[1].x() + innerBorder.radii().bottomLeft().width(),
2081 quad[1].y() - innerBorder.radii().bottomLeft().height()),
2085 if (!innerBorder.radii().bottomRight().isZero()) {
2088 quad[2].x() - innerBorder.radii().bottomRight().width(),
2092 innerBorder.radii().bottomRight().height()),
2103 if (!innerBorder.radii().topRight().isZero()) {
2106 quad[1].x() - innerBorder.radii().topRight().width(),
2110 quad[1].y() + innerBorder.radii().topRight().height()),
2114 if (!innerBorder.radii().bottomRight().isZero()) {
2117 quad[2].x() - innerBorder.radii().bottomRight().width(),
2121 quad[2].y() - innerBorder.radii().bottomRight().height()),
2199 static RoundedRect calculateAdjustedInnerBorder(const RoundedRect&innerBorder, BoxSide side)
2204 RoundedRect::Radii newRadii = innerBorder.radii();
2205 IntRect newRect = innerBorder.rect();
2279 void RenderBoxModelObject::clipBorderSideForComplexInnerPath(GraphicsContext* graphicsContext, const RoundedRect& outerBorder, const RoundedRect& innerBorder,
2283 graphicsContext->clipOutRoundedRect(calculateAdjustedInnerBorder(innerBorder, side));