Searched defs:RoundedRect (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DRoundedRect.h36 class RoundedRect { class in namespace:WebCore
76 explicit RoundedRect(const IntRect&, const Radii& = Radii());
77 RoundedRect(int x, int y, int width, int height);
78 RoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
112 inline bool operator==(const RoundedRect::Radii& a, const RoundedRect::Radii& b)
117 inline bool operator!=(const RoundedRect::Radii& a, const RoundedRect::Radii& b)
122 inline bool operator==(const RoundedRect& a, const RoundedRect
[all...]
H A DRoundedRect.cpp29 #include "core/platform/graphics/RoundedRect.h"
38 bool RoundedRect::Radii::isZero() const
43 void RoundedRect::Radii::scale(float factor)
64 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth)
84 void RoundedRect::inflateWithRadii(int size)
99 void RoundedRect::Radii::includeLogicalEdges(const RoundedRect::Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge)
118 void RoundedRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge)
137 RoundedRect::RoundedRect(in function in class:WebCore::RoundedRect
142 RoundedRect::RoundedRect(const IntRect& rect, const Radii& radii) function in class:WebCore::RoundedRect
148 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) function in class:WebCore::RoundedRect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBoxModelObject.cpp440 RoundedRect RenderBoxModelObject::getBackgroundRoundedRect(const LayoutRect& borderRect, InlineFlowBox* box, LayoutUnit inlineBoxWidth, LayoutUnit inlineBoxHeight,
444 RoundedRect border = style()->getRoundedBorderFor(borderRect, renderView, includeLogicalLeftEdge, includeLogicalRightEdge);
446 RoundedRect segmentBorder = style()->getRoundedBorderFor(LayoutRect(0, 0, inlineBoxWidth, inlineBoxHeight), renderView, includeLogicalLeftEdge, includeLogicalRightEdge);
453 void RenderBoxModelObject::clipRoundedInnerRect(GraphicsContext * context, const LayoutRect& rect, const RoundedRect& clipRect)
461 RoundedRect::Radii topCornerRadii;
463 context->clipRoundedRect(RoundedRect(topCorner, topCornerRadii));
466 RoundedRect::Radii bottomCornerRadii;
468 context->clipRoundedRect(RoundedRect(bottomCorner, bottomCornerRadii));
473 RoundedRect::Radii topCornerRadii;
475 context->clipRoundedRect(RoundedRect(topCorne
2199 calculateAdjustedInnerBorder(const RoundedRect&innerBorder, BoxSide side) argument
[all...]

Completed in 87 milliseconds