Home
last modified time | relevance | path

Searched refs:shapePadding (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DRectangleShape.cpp51 ASSERT(shapePadding() >= 0); in shapePaddingBounds()
52 if (!shapePadding() || isEmpty()) in shapePaddingBounds()
55 float boundsX = x() + std::min(width() / 2, shapePadding()); in shapePaddingBounds()
56 float boundsY = y() + std::min(height() / 2, shapePadding()); in shapePaddingBounds()
57 float boundsWidth = std::max(0.0f, width() - shapePadding() * 2); in shapePaddingBounds()
58 float boundsHeight = std::max(0.0f, height() - shapePadding() * 2); in shapePaddingBounds()
126 float paddingRadiusX = std::max(0.0f, rx() - shapePadding()); in getIncludedIntervals()
127 float paddingRadiusY = std::max(0.0f, ry() - shapePadding()); in getIncludedIntervals()
182 float paddingRadiusX = std::max(0.0f, rx() - shapePadding()); in firstIncludedIntervalLogicalTop()
183 float paddingRadiusY = std::max(0.0f, ry() - shapePadding()); in firstIncludedIntervalLogicalTop()
DBoxShape.cpp48 if (shapePadding() > 0) in shapePaddingLogicalBoundingBox()
49 paddingBounds.inflate(-shapePadding()); in shapePaddingLogicalBoundingBox()
66 if (shapePadding() > 0) { in shapePaddingBounds()
67 paddingBounds.inflate(-shapePadding()); in shapePaddingBounds()
68 paddingBounds.expandRadii(-shapePadding()); in shapePaddingBounds()
DBoxShapeTest.cpp42 PassOwnPtr<Shape> createBoxShape(const LayoutSize& size, float shapeMargin, float shapePadding) in createBoxShape() argument
44 …outBoxShape(size, TopToBottomWritingMode, Length(shapeMargin, Fixed), Length(shapePadding, Fixed)); in createBoxShape()
DShape.h80 float shapePadding() const { return m_padding; } in shapePadding() function
DShapeInfo.cpp57 Length padding = m_renderer->style()->shapePadding(); in computedShape()
DRasterShape.cpp269 ASSERT(shapePadding() >= 0); in paddingIntervals()
270 if (!shapePadding()) in paddingIntervals()
DPolygonShape.cpp184 ASSERT(shapePadding() >= 0); in shapePaddingBounds()
185 if (!shapePadding() || m_polygon.isEmpty()) in shapePaddingBounds()
189 … m_paddingBounds = computeShapePaddingBounds(m_polygon, shapePadding(), m_polygon.fillRule()); in shapePaddingBounds()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.h1437 Length shapePadding() const { return rareNonInheritedData->m_shapePadding; } in shapePadding() function
1438 …void setShapePadding(Length shapePadding) { SET_VAR(rareNonInheritedData, m_shapePadding, shapePad… in setShapePadding() argument
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp2752 return cssValuePool().createValue(style->shapePadding()); in getPropertyCSSValue()