Home
last modified time | relevance | path

Searched refs:borderRect (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderFrameSet.cpp85 void RenderFrameSet::paintColumnBorder(const PaintInfo& paintInfo, const IntRect& borderRect) in paintColumnBorder() argument
87 if (!paintInfo.rect.intersects(borderRect)) in paintColumnBorder()
94 …context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftCol… in paintColumnBorder()
98 if (borderRect.width() >= 3) { in paintColumnBorder()
99 … context->fillRect(IntRect(borderRect.location(), IntSize(1, height())), borderStartEdgeColor()); in paintColumnBorder()
100 …context->fillRect(IntRect(IntPoint(borderRect.maxX() - 1, borderRect.y()), IntSize(1, height())), … in paintColumnBorder()
104 void RenderFrameSet::paintRowBorder(const PaintInfo& paintInfo, const IntRect& borderRect) in paintRowBorder() argument
106 if (!paintInfo.rect.intersects(borderRect)) in paintRowBorder()
113 …context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftCol… in paintRowBorder()
117 if (borderRect.height() >= 3) { in paintRowBorder()
[all …]
DRenderWidget.cpp220 LayoutRect borderRect = LayoutRect(adjustedPaintOffset, size()); in paint() local
222 if (borderRect.isEmpty()) in paint()
227 RoundedRect roundedInnerRect = style()->getRoundedInnerBorderFor(borderRect, in paint()
229 BoxPainter::clipRoundedInnerRect(paintInfo.context, borderRect, roundedInnerRect); in paint()
DRenderTableCell.cpp1121 IntRect borderRect = pixelSnappedIntRect(paintRect.x() - leftWidth / 2, in paintCollapsedBorders() local
1139 …borders.addBorder(topVal, BSTop, renderTop, borderRect.x(), borderRect.y(), borderRect.maxX(), bor… in paintCollapsedBorders()
1140 …r(bottomVal, BSBottom, renderBottom, borderRect.x(), borderRect.maxY() - bottomWidth, borderRect.m… in paintCollapsedBorders()
1141 …s.addBorder(leftVal, BSLeft, renderLeft, borderRect.x(), borderRect.y(), borderRect.x() + leftWidt… in paintCollapsedBorders()
1142 …order(rightVal, BSRight, renderRight, borderRect.maxX() - rightWidth, borderRect.y(), borderRect.m… in paintCollapsedBorders()
DRenderReplaced.cpp147 LayoutRect borderRect = LayoutRect(adjustedPaintOffset, size()); in paint() local
149 if (borderRect.isEmpty()) in paint()
DRenderThemeChromiumMac.mm1320 FloatRect borderRect(unzoomedRect);
1321 borderRect.inflate(-sliderTrackBorderWidth / 2.0);
1322 float borderRadiusSize = (isVerticalSlider ? borderRect.width() : borderRect.height()) / 2;
1324 borderPath.addRoundedRect(borderRect, borderRadius, borderRadius, borderRadius, borderRadius);
DRenderBlock.cpp2443 LayoutRect borderRect = borderBoxRect(); in nodeAtPoint() local
2444 borderRect.moveBy(adjustedLocation); in nodeAtPoint()
2445 RoundedRect border = style()->getRoundedBorderFor(borderRect); in nodeAtPoint()
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm57 NSRect borderRect, contentRect;
58 NSDivideRect([self bounds], &borderRect, &contentRect, [self cr_lineWidth],
60 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
71 borderRect.origin.y -= [self cr_lineWidth];
72 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
/external/chromium_org/chrome/browser/ui/cocoa/
Dvertical_gradient_view.mm33 NSRect borderRect, contentRect;
34 NSDivideRect([self bounds], &borderRect, &contentRect, 1, NSMinYEdge);
35 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
Dbackground_gradient_view.mm68 NSRect borderRect, contentRect;
69 NSDivideRect(bounds, &borderRect, &contentRect, [self cr_lineWidth],
71 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
Dgradient_button_cell.mm559 NSRect borderRect, contentRect;
560 NSDivideRect(cellFrame, &borderRect, &contentRect, lineWidth, NSMaxXEdge);
567 NSRectFillUsingOperation(NSInsetRect(borderRect, 0, 2),
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGBlock.cpp41 LayoutRect borderRect = borderBoxRect(); in visualOverflowRect() local
44 textShadow->adjustRectForShadow(borderRect); in visualOverflowRect()
46 return borderRect; in visualOverflowRect()
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dinfobar_gradient_view.mm95 NSRect borderRect, contentRect;
96 NSDivideRect(bounds, &borderRect, &contentRect, 1, NSMinYEdge);
97 NSRectFillUsingOperation(borderRect, NSCompositeSourceOver);
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_view.mm80 NSRect borderRect = dirtyRect;
81 borderRect.size.height = [image size].height;
82 borderRect.origin.y = 0;
85 NSDrawThreePartImage(borderRect, nil, image, nil, /*vertical=*/ NO,
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp966 RoundedRect RenderStyle::getRoundedBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftE… in getRoundedBorderFor() argument
968 IntRect snappedBorderRect(pixelSnappedIntRect(borderRect)); in getRoundedBorderFor()
972 radii.scale(calcBorderRadiiConstraintScaleFor(borderRect, radii)); in getRoundedBorderFor()
978 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, bool includeLogical… in getRoundedInnerBorderFor() argument
987 …return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeL… in getRoundedInnerBorderFor()
990 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, in getRoundedInnerBorderFor() argument
993 LayoutRect innerRect(borderRect.x() + leftWidth, in getRoundedInnerBorderFor()
994 borderRect.y() + topWidth, in getRoundedInnerBorderFor()
995 borderRect.width() - leftWidth - rightWidth, in getRoundedInnerBorderFor()
996 borderRect.height() - topWidth - bottomWidth); in getRoundedInnerBorderFor()
[all …]
DRenderStyle.h1063 …RoundedRect getRoundedBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftEdge = true, …
1064 …RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftEdge = t…
1066 RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect,
/external/chromium_org/third_party/WebKit/Source/core/paint/
DBoxPainter.cpp218 RoundedRect BoxPainter::getBackgroundRoundedRect(RenderObject& obj, const LayoutRect& borderRect, I… in getBackgroundRoundedRect() argument
221 …RoundedRect border = obj.style()->getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeL… in getBackgroundRoundedRect()
230 …oidance(RenderObject& obj, GraphicsContext* context, const LayoutRect& borderRect, BackgroundBleed… in backgroundRoundedRectAdjustedForBleedAvoidance() argument
234 …return BoxPainter::getBackgroundRoundedRect(obj, shrinkRectByOnePixel(context, borderRect), box, b… in backgroundRoundedRectAdjustedForBleedAvoidance()
237 …return obj.style()->getRoundedInnerBorderFor(borderRect, includeLogicalLeftEdge, includeLogicalRig… in backgroundRoundedRectAdjustedForBleedAvoidance()
239 …return BoxPainter::getBackgroundRoundedRect(obj, borderRect, box, boxSize.width(), boxSize.height(… in backgroundRoundedRectAdjustedForBleedAvoidance()
1690 void BoxPainter::drawBoxSideFromPath(GraphicsContext* graphicsContext, const LayoutRect& borderRect in drawBoxSideFromPath() argument
1766 RoundedRect innerClip = style->getRoundedInnerBorderFor(borderRect, in drawBoxSideFromPath()
1771 …drawBoxSideFromPath(graphicsContext, borderRect, borderPath, edges, thickness, drawThickness, side… in drawBoxSideFromPath()
1777 LayoutRect outerRect = borderRect; in drawBoxSideFromPath()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_popup_base_view_cocoa.mm82 NSRect borderRect = NSInsetRect([self bounds], inset, inset);
83 NSBezierPath* path = [NSBezierPath bezierPathWithRect:borderRect];