Searched defs:topWidth (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
H A DRoundedIntRect.cpp63 void RoundedIntRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) argument
66 m_topLeft.setHeight(max(0, m_topLeft.height() + topWidth));
69 m_topRight.setHeight(max(0, m_topRight.height() + topWidth));
H A DRoundedIntRect.h63 void expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth);
65 void shrink(int topWidth, int bottomWidth, int leftWidth, int rightWidth) { expand(-topWidth, -bottomWidth, -leftWidth, -rightWidth); } argument
/external/webkit/Source/WebCore/rendering/style/
H A DRenderStyle.cpp819 int topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0; local
822 return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeLogicalLeftEdge, includeLogicalRightEdge);
826 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const
829 borderRect.y() + topWidth,
831 borderRect.height() - topWidth - bottomWidth);
837 radii.shrink(topWidth, bottomWidth, leftWidth, rightWidth);
825 getRoundedInnerBorderFor(const IntRect& borderRect, int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const argument
/external/webkit/Source/WebCore/rendering/
H A DRenderTableCell.cpp935 int topWidth = topVal.width(); local
941 ty -= topWidth / 2;
943 h += topWidth / 2 + (bottomWidth + 1) / 2;
958 borders.addBorder(topVal, BSTop, renderTop, tx, ty, tx + w, ty + topWidth, topStyle);
H A DRenderBoxModelObject.cpp956 int topWidth = fitToBorder ? style->borderTopWidth() : topSlice; local
961 bool drawTop = topSlice > 0 && topWidth > 0;
965 (imageHeight - topSlice - bottomSlice) > 0 && (h - topWidth - bottomWidth) > 0;
973 // The top left corner rect is (tx, ty, leftWidth, topWidth)
976 graphicsContext->drawImage(image.get(), colorSpace, IntRect(tx, ty, leftWidth, topWidth),
987 graphicsContext->drawTiledImage(image.get(), colorSpace, IntRect(tx, ty + topWidth, leftWidth,
988 h - topWidth - bottomWidth),
995 // The top right corner rect is (tx + w - rightWidth, ty, rightWidth, topWidth)
998 graphicsContext->drawImage(image.get(), colorSpace, IntRect(tx + w - rightWidth, ty, rightWidth, topWidth),
1008 graphicsContext->drawTiledImage(image.get(), colorSpace, IntRect(tx + w - rightWidth, ty + topWidth, rightWidt
1563 int topWidth = edges[BSTop].usedWidth() / 2; local
[all...]
H A DRenderObject.cpp916 IntRect RenderObject::borderInnerRect(const IntRect& borderRect, unsigned short topWidth, unsigned short bottomWidth, unsigned short leftWidth, unsigned short rightWidth) const argument
920 borderRect.y() + topWidth,
922 borderRect.height() - topWidth - bottomWidth);

Completed in 274 milliseconds