Home
last modified time | relevance | path

Searched refs:topWidth (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/rendering/
DRenderBoxModelObject.cpp720 int topWidth = fitToBorder ? style->borderTopWidth() : topSlice; in paintNinePieceImage() local
725 bool drawTop = topSlice > 0 && topWidth > 0; in paintNinePieceImage()
729 … (imageHeight - topSlice - bottomSlice) > 0 && (h - topWidth - bottomWidth) > 0; in paintNinePieceImage()
739 graphicsContext->drawImage(image, IntRect(tx, ty, leftWidth, topWidth), in paintNinePieceImage()
750 graphicsContext->drawTiledImage(image, IntRect(tx, ty + topWidth, leftWidth, in paintNinePieceImage()
751 h - topWidth - bottomWidth), in paintNinePieceImage()
761 … graphicsContext->drawImage(image, IntRect(tx + w - rightWidth, ty, rightWidth, topWidth), in paintNinePieceImage()
771 … graphicsContext->drawTiledImage(image, IntRect(tx + w - rightWidth, ty + topWidth, rightWidth, in paintNinePieceImage()
772 h - topWidth - bottomWidth), in paintNinePieceImage()
779 …csContext->drawTiledImage(image, IntRect(tx + leftWidth, ty, w - leftWidth - rightWidth, topWidth), in paintNinePieceImage()
[all …]
DRenderTableCell.cpp793 int topWidth = topVal.width(); in paintCollapsedBorder() local
799 ty -= topWidth / 2; in paintCollapsedBorder()
801 h += topWidth / 2 + (bottomWidth + 1) / 2; in paintCollapsedBorder()
816 borders.addBorder(topVal, BSTop, renderTop, tx, ty, tx + w, ty + topWidth, topStyle); in paintCollapsedBorder()