Searched defs:borderRect (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/rendering/
H A DRenderReplaced.cpp139 IntRect borderRect = IntRect(tx, ty, width(), height()); local
141 if (borderRect.isEmpty())
146 paintInfo.context->addRoundedRectClip(style()->getRoundedBorderFor(borderRect));
H A DRenderWidget.cpp278 IntRect borderRect = IntRect(tx, ty, width(), height()); local
280 if (borderRect.isEmpty())
285 paintInfo.context->addRoundedRectClip(style()->getRoundedBorderFor(borderRect));
H A DRenderFrameSet.cpp84 void RenderFrameSet::paintColumnBorder(const PaintInfo& paintInfo, const IntRect& borderRect) argument
86 if (!paintInfo.rect.intersects(borderRect))
94 context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPropertyBorderLeftColor) : borderFillColor(), colorSpace);
98 if (borderRect.width() >= 3) {
99 context->fillRect(IntRect(borderRect.location(), IntSize(1, height())), borderStartEdgeColor(), colorSpace);
100 context->fillRect(IntRect(IntPoint(borderRect.maxX() - 1, borderRect.y()), IntSize(1, height())), borderEndEdgeColor(), colorSpace);
104 void RenderFrameSet::paintRowBorder(const PaintInfo& paintInfo, const IntRect& borderRect) argument
106 if (!paintInfo.rect.intersects(borderRect))
114 context->fillRect(borderRect, frameSe
[all...]
H A DRenderBoxModelObject.cpp562 RoundedIntRect RenderBoxModelObject::getBackgroundRoundedRect(const IntRect& borderRect, InlineFlowBox* box, int inlineBoxWidth, int inlineBoxHeight, argument
565 RoundedIntRect border = style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeLogicalRightEdge);
615 IntRect borderRect(tx, ty, w, h);
616 if (borderRect.isEmpty())
620 RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight, includeLeftEdge, includeRightEdge);
623 context->fillRect(borderRect, bgColor, style()->colorSpace());
630 IntRect borderRect(tx, ty, w, h);
632 if (borderRect.isEmpty())
637 RoundedIntRect border = getBackgroundRoundedRect(borderRect, box, inlineBoxWidth, inlineBoxHeight, includeLeftEdge, includeRightEdge);
1370 IntRect borderRect(t
1448 drawBoxSideFromPath(GraphicsContext* graphicsContext, const IntRect& borderRect, const Path& borderPath, const BorderEdge edges[], float thickness, float drawThickness, BoxSide side, const RenderStyle* style, Color color, EBorderStyle borderStyle, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) argument
[all...]
H A DRenderObject.cpp916 IntRect RenderObject::borderInnerRect(const IntRect& borderRect, unsigned short topWidth, unsigned short bottomWidth, unsigned short leftWidth, unsigned short rightWidth) const argument
919 borderRect.x() + leftWidth,
920 borderRect.y() + topWidth,
921 borderRect.width() - leftWidth - rightWidth,
922 borderRect.height() - topWidth - bottomWidth);
/external/webkit/Source/WebCore/rendering/style/
H A DRenderStyle.cpp802 RoundedIntRect RenderStyle::getRoundedBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
804 RoundedIntRect roundedRect(borderRect);
806 RoundedIntRect::Radii radii = calcRadiiFor(surround->border, borderRect.width(), borderRect.height());
807 radii.scale(calcConstraintScaleFor(borderRect, radii));
813 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
822 return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeLogicalLeftEdge, includeLogicalRightEdge);
825 RoundedIntRect RenderStyle::getRoundedInnerBorderFor(const IntRect& borderRect, argument
828 IntRect innerRect(borderRect.x() + leftWidth,
829 borderRect
[all...]

Completed in 425 milliseconds