Home
last modified time | relevance | path

Searched refs:RoundedRect (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp38 bool RoundedRect::Radii::isZero() const in isZero()
43 void RoundedRect::Radii::scale(float factor) in scale()
64 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) in expand()
84 void RoundedRect::inflateWithRadii(int size) in inflateWithRadii()
99 void RoundedRect::Radii::includeLogicalEdges(const RoundedRect::Radii& edges, bool isHorizontal, bo… in includeLogicalEdges()
118 void RoundedRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool e… in excludeLogicalEdges()
137 RoundedRect::RoundedRect(int x, int y, int width, int height) in RoundedRect() function in WebCore::RoundedRect
142 RoundedRect::RoundedRect(const IntRect& rect, const Radii& radii) in RoundedRect() function in WebCore::RoundedRect
148 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, cons… in RoundedRect() function in WebCore::RoundedRect
154 IntRect RoundedRect::radiusCenterRect() const in radiusCenterRect()
[all …]
DRoundedRect.h38 class PLATFORM_EXPORT RoundedRect {
78 explicit RoundedRect(const IntRect&, const Radii& = Radii());
79 RoundedRect(int x, int y, int width, int height);
80RoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottom…
114 inline bool operator==(const RoundedRect::Radii& a, const RoundedRect::Radii& b)
119 inline bool operator!=(const RoundedRect::Radii& a, const RoundedRect::Radii& b)
124 inline bool operator==(const RoundedRect& a, const RoundedRect& b)
DRoundedRectTest.cpp57 RoundedRect rr(100, 200, 300, 400); in TEST()
64RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10), Int… in TEST()
71RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(5, 5), IntSize(10, 10), IntSize(15, 15), IntSi… in TEST()
78RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(20, 10), IntSize(20, 10), IntSize(10, 20), Int… in TEST()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.h261RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*, const LayoutRect&, Ba…
273 …static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const RoundedRect& clipRect);
317RoundedRect getBackgroundRoundedRect(const LayoutRect&, InlineFlowBox*, LayoutUnit inlineBoxWidth,…
322 …void clipBorderSidePolygon(GraphicsContext*, const RoundedRect& outerBorder, const RoundedRect& in…
324 …void clipBorderSideForComplexInnerPath(GraphicsContext*, const RoundedRect&, const RoundedRect&, B…
325 …BorderSide(GraphicsContext*, const RenderStyle*, const RoundedRect& outerBorder, const RoundedRect
328 …orderSides(GraphicsContext*, const RenderStyle*, const RoundedRect& outerBorder, const RoundedRect
330 …orderSides(GraphicsContext*, const RenderStyle*, const RoundedRect& outerBorder, const RoundedRect
DRenderBoxModelObject.cpp432 RoundedRect RenderBoxModelObject::getBackgroundRoundedRect(const LayoutRect& borderRect, InlineFlow… in getBackgroundRoundedRect()
436RoundedRect border = style()->getRoundedBorderFor(borderRect, renderView, includeLogicalLeftEdge, … in getBackgroundRoundedRect()
438RoundedRect segmentBorder = style()->getRoundedBorderFor(LayoutRect(0, 0, inlineBoxWidth, inlineBo… in getBackgroundRoundedRect()
445 …lipRoundedInnerRect(GraphicsContext * context, const LayoutRect& rect, const RoundedRect& clipRect) in clipRoundedInnerRect()
453 RoundedRect::Radii topCornerRadii; in clipRoundedInnerRect()
455 context->clipRoundedRect(RoundedRect(topCorner, topCornerRadii)); in clipRoundedInnerRect()
458 RoundedRect::Radii bottomCornerRadii; in clipRoundedInnerRect()
460 context->clipRoundedRect(RoundedRect(bottomCorner, bottomCornerRadii)); in clipRoundedInnerRect()
465 RoundedRect::Radii topCornerRadii; in clipRoundedInnerRect()
467 context->clipRoundedRect(RoundedRect(topCorner, topCornerRadii)); in clipRoundedInnerRect()
[all …]
DHitTestLocation.h77 bool intersects(const RoundedRect&) const;
DHitTestLocation.cpp164 bool HitTestLocation::intersects(const RoundedRect& rect) const in intersects()
DRenderWidget.cpp292 RoundedRect roundedInnerRect = style()->getRoundedInnerBorderFor(borderRect, in paint()
DRenderReplaced.cpp155 RoundedRect roundedInnerRect = style()->getRoundedInnerBorderFor(paintRect, in paint()
DRenderThemeChromiumMac.mm1158 RoundedRect border = o->style()->getRoundedBorderFor(r, o->view());
1192 …paintInfo.context->clipRoundedRect(RoundedRect(enclosingIntRect(topGradient), border.radii().topLe…
1200 …paintInfo.context->clipRoundedRect(RoundedRect(enclosingIntRect(bottomGradient), IntSize(), IntSiz…
1452 RoundedRect fillRect(fillBounds, fillRadius, fillRadius, fillRadius, fillRadius);
DRenderObject.cpp1504 RoundedRect oldRoundedRect = style()->getRoundedBorderFor(oldBounds, v); in repaintAfterLayoutIfNeeded()
1505 RoundedRect newRoundedRect = style()->getRoundedBorderFor(newBounds, v); in repaintAfterLayoutIfNeeded()
DRenderBox.cpp1284 RoundedRect border = style()->getRoundedBorderFor(paintRect, view()); in paintBoxDecorationsWithRect()
1695 RoundedRect clipRoundedRect(0, 0, 0, 0); in pushContentsClip()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.h239 void fillRoundedRect(const RoundedRect&, const Color&);
286 void clipRoundedRect(const RoundedRect&);
288 void clipOutRoundedRect(const RoundedRect&);
336 …void drawInnerShadow(const RoundedRect&, const Color& shadowColor, const IntSize shadowOffset, int…
441 void fillRectWithRoundedHole(const IntRect&, const RoundedRect& roundedHoleRect, const Color&);
DPath.h112 void addRoundedRect(const RoundedRect&);
DGraphicsContext.cpp699 void GraphicsContext::drawInnerShadow(const RoundedRect& rect, const Color& shadowColor, const IntS… in drawInnerShadow()
728 RoundedRect roundedHole(holeRect, rect.radii()); in drawInnerShadow()
1456 void GraphicsContext::clipRoundedRect(const RoundedRect& rect) in clipRoundedRect()
1462 RoundedRect::Radii wkRadii = rect.radii(); in clipRoundedRect()
1512 void GraphicsContext::clipOutRoundedRect(const RoundedRect& rect) in clipOutRoundedRect()
1655 void GraphicsContext::fillRoundedRect(const RoundedRect& rect, const Color& color) in fillRoundedRect()
1663 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedRect& roundedHoleRe… in fillRectWithRoundedHole()
DPath.cpp352 void Path::addRoundedRect(const RoundedRect& r) in addRoundedRect()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp907 static RoundedRect::Radii calcRadiiFor(const BorderData& border, IntSize size, RenderView* renderVi… in calcRadiiFor()
909 return RoundedRect::Radii( in calcRadiiFor()
920 static float calcConstraintScaleFor(const IntRect& rect, const RoundedRect::Radii& radii) in calcConstraintScaleFor()
969 RoundedRect RenderStyle::getRoundedBorderFor(const LayoutRect& borderRect, RenderView* renderView, … in getRoundedBorderFor()
972 RoundedRect roundedRect(snappedBorderRect); in getRoundedBorderFor()
974RoundedRect::Radii radii = calcRadiiFor(surround->border, snappedBorderRect.size(), renderView); in getRoundedBorderFor()
981 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, bool includeLogical… in getRoundedInnerBorderFor()
993 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, in getRoundedInnerBorderFor()
1001 RoundedRect roundedRect(pixelSnappedIntRect(innerRect)); in getRoundedInnerBorderFor()
1004 RoundedRect::Radii radii = getRoundedBorderFor(borderRect).radii(); in getRoundedInnerBorderFor()
DRenderStyle.h1022RoundedRect getRoundedBorderFor(const LayoutRect& borderRect, RenderView* = 0, bool includeLogical…
1023RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftEdge = t…
1025 RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect,
/external/chromium_org/third_party/WebKit/Source/platform/
Dblink_platform.gypi423 'geometry/RoundedRect.cpp',
424 'geometry/RoundedRect.h',
Dblink_platform.target.linux-mips.mk229 third_party/WebKit/Source/platform/geometry/RoundedRect.cpp \
Dblink_platform.target.linux-x86.mk229 third_party/WebKit/Source/platform/geometry/RoundedRect.cpp \
Dblink_platform.target.darwin-mips.mk229 third_party/WebKit/Source/platform/geometry/RoundedRect.cpp \
Dblink_platform.target.linux-arm.mk230 third_party/WebKit/Source/platform/geometry/RoundedRect.cpp \
Dblink_platform.target.darwin-x86.mk229 third_party/WebKit/Source/platform/geometry/RoundedRect.cpp \
Dblink_platform.target.darwin-arm.mk230 third_party/WebKit/Source/platform/geometry/RoundedRect.cpp \

12