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

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGBlock.cpp41 LayoutRect borderRect = borderBoxRect(); local
44 textShadow->adjustRectForShadow(borderRect);
46 return borderRect;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderWidget.cpp220 LayoutRect borderRect = LayoutRect(adjustedPaintOffset, size()); local
222 if (borderRect.isEmpty())
227 RoundedRect roundedInnerRect = style()->getRoundedInnerBorderFor(borderRect,
229 BoxPainter::clipRoundedInnerRect(paintInfo.context, borderRect, roundedInnerRect);
H A DRenderFrameSet.cpp85 void RenderFrameSet::paintColumnBorder(const PaintInfo& paintInfo, const IntRect& borderRect) argument
87 if (!paintInfo.rect.intersects(borderRect))
94 context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftColor) : borderFillColor());
98 if (borderRect.width() >= 3) {
99 context->fillRect(IntRect(borderRect.location(), IntSize(1, height())), borderStartEdgeColor());
100 context->fillRect(IntRect(IntPoint(borderRect.maxX() - 1, borderRect.y()), IntSize(1, height())), borderEndEdgeColor());
104 void RenderFrameSet::paintRowBorder(const PaintInfo& paintInfo, const IntRect& borderRect) argument
106 if (!paintInfo.rect.intersects(borderRect))
113 context->fillRect(borderRect, frameSe
[all...]
H A DRenderReplaced.cpp147 LayoutRect borderRect = LayoutRect(adjustedPaintOffset, size()); local
149 if (borderRect.isEmpty())
H A DRenderTableCell.cpp1121 IntRect borderRect = pixelSnappedIntRect(paintRect.x() - leftWidth / 2, local
1139 borders.addBorder(topVal, BSTop, renderTop, borderRect.x(), borderRect.y(), borderRect.maxX(), borderRect.y() + topWidth, topStyle);
1140 borders.addBorder(bottomVal, BSBottom, renderBottom, borderRect.x(), borderRect.maxY() - bottomWidth, borderRect.maxX(), borderRect.maxY(), bottomStyle);
1141 borders.addBorder(leftVal, BSLeft, renderLeft, borderRect
[all...]
H A DRenderBlock.cpp2443 LayoutRect borderRect = borderBoxRect(); local
2444 borderRect.moveBy(adjustedLocation);
2445 RoundedRect border = style()->getRoundedBorderFor(borderRect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp966 RoundedRect RenderStyle::getRoundedBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
968 IntRect snappedBorderRect(pixelSnappedIntRect(borderRect));
972 radii.scale(calcBorderRadiiConstraintScaleFor(borderRect, radii));
978 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
987 return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeLogicalLeftEdge, includeLogicalRightEdge);
990 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, argument
993 LayoutRect innerRect(borderRect.x() + leftWidth,
994 borderRect.y() + topWidth,
995 borderRect.width() - leftWidth - rightWidth,
996 borderRect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DBoxPainter.cpp218 RoundedRect BoxPainter::getBackgroundRoundedRect(RenderObject& obj, const LayoutRect& borderRect, InlineFlowBox* box, LayoutUnit inlineBoxWidth, LayoutUnit inlineBoxHeight, argument
221 RoundedRect border = obj.style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeLogicalRightEdge);
230 RoundedRect BoxPainter::backgroundRoundedRectAdjustedForBleedAvoidance(RenderObject& obj, GraphicsContext* context, const LayoutRect& borderRect, BackgroundBleedAvoidance bleedAvoidance, InlineFlowBox* box, const LayoutSize& boxSize, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) argument
234 return BoxPainter::getBackgroundRoundedRect(obj, shrinkRectByOnePixel(context, borderRect), box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge);
237 return obj.style()->getRoundedInnerBorderFor(borderRect, includeLogicalLeftEdge, includeLogicalRightEdge);
239 return BoxPainter::getBackgroundRoundedRect(obj, borderRect, box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge);
1690 void BoxPainter::drawBoxSideFromPath(GraphicsContext* graphicsContext, const LayoutRect& borderRect, const Path& borderPath, const BorderEdge edges[], argument
1766 RoundedRect innerClip = style->getRoundedInnerBorderFor(borderRect,
1771 drawBoxSideFromPath(graphicsContext, borderRect, borderPath, edges, thickness, drawThickness, side, style, color, SOLID, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge);
1777 LayoutRect outerRect = borderRect;
[all...]

Completed in 450 milliseconds