/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
RoundedRect.h | 40 class PLATFORM_EXPORT Radii { 42 Radii() { } 43 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) 62 void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge); 78 explicit RoundedRect(const IntRect&, const Radii& = Radii()); 83 const Radii& radii() const { return m_radii; } function in class:WebCore::RoundedRect 91 void setRadii(const Radii& radii) { m_radii = radii; [all...] |
FloatRoundedRect.h | 41 class PLATFORM_EXPORT Radii { 43 Radii() { } 44 Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) 52 Radii(const RoundedRect::Radii& intRadii) 84 explicit FloatRoundedRect(const FloatRect&, const Radii& = Radii()); 89 const Radii& radii() const { return m_radii; } function in class:WebCore::FloatRoundedRect 94 void setRadii(const Radii& radii) { m_radii = radii; [all...] |
FloatRoundedRect.cpp | 42 FloatRoundedRect::FloatRoundedRect(const FloatRect& rect, const Radii& radii) 44 , m_radii(radii) 54 bool FloatRoundedRect::Radii::isZero() const 59 void FloatRoundedRect::Radii::scale(float factor) 64 // If either radius on a corner becomes zero, reset both radii on that corner. 80 void FloatRoundedRect::Radii::expand(float topWidth, float bottomWidth, float leftWidth, float rightWidth)
|
RoundedRect.cpp | 38 bool RoundedRect::Radii::isZero() const 43 void RoundedRect::Radii::scale(float factor) 48 // If either radius on a corner becomes zero, reset both radii on that corner. 64 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) 89 // Considering the inflation factor of shorter size to scale the radii seems appropriate here 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) 142 RoundedRect::RoundedRect(const IntRect& rect, const Radii& radii) [all...] |
FloatRoundedRectTest.cpp | 56 void PrintTo(const FloatRoundedRect::Radii& radii, std::ostream* os) 58 *os << "FloatRoundedRect::Radii(" 59 << ::testing::PrintToString(radii.topLeft()) << ", " 60 << ::testing::PrintToString(radii.topRight()) << ", " 61 << ::testing::PrintToString(radii.bottomRight()) << ", " 62 << ::testing::PrintToString(radii.bottomLeft()) << ")"; 69 << ::testing::PrintToString(roundedRect.radii()) << ")"; 90 EXPECT_EQ(FloatSize(), r.radii().topLeft()); 91 EXPECT_EQ(FloatSize(), r.radii().topRight()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
BoxShapeTest.cpp | 115 /* BoxShape geometry for this test. Corner radii are in parens, x and y intercepts 129 const RoundedRect::Radii cornerRadii(IntSize(10, 15), IntSize(10, 20), IntSize(25, 15), IntSize(20, 30));
|
Shape.cpp | 62 static PassOwnPtr<Shape> createEllipseShape(const FloatPoint& center, const FloatSize& radii) 64 ASSERT(radii.width() >= 0 && radii.height() >= 0); 65 return adoptPtr(new RectangleShape(FloatRect(center.x() - radii.width(), center.y() - radii.height(), radii.width()*2, radii.height()*2), radii)); 160 FloatRoundedRect::Radii cornerRadii(topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); 223 FloatRoundedRect bounds(rect, roundedRect.radii()); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
RenderStyle.cpp | 998 RoundedRect::Radii radii = calcRadiiFor(surround->border, snappedBorderRect.size()); local 1028 RoundedRect::Radii radii = getRoundedBorderFor(borderRect).radii(); local [all...] |
RenderStyle.h | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderBoxModelObject.cpp | 439 border.setRadii(segmentBorder.radii()); 451 if (!clipRect.radii().topLeft().isEmpty() || !clipRect.radii().bottomRight().isEmpty()) { 453 RoundedRect::Radii topCornerRadii; 454 topCornerRadii.setTopLeft(clipRect.radii().topLeft()); 458 RoundedRect::Radii bottomCornerRadii; 459 bottomCornerRadii.setBottomRight(clipRect.radii().bottomRight()); 463 if (!clipRect.radii().topRight().isEmpty() || !clipRect.radii().bottomLeft().isEmpty()) { 465 RoundedRect::Radii topCornerRadii [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContext.cpp | 656 RoundedRect roundedHole(holeRect, rect.radii()); 1254 SkVector radii[4]; local 1338 SkVector radii[4]; local [all...] |