Home | History | Annotate | Download | only in paint

Lines Matching defs:bottomWidth

914     int bottomWidth = computeBorderImageSide(ninePieceImage.borderSlices().bottom(), style->borderBottomWidth(), bottomSlice, borderImageRect.height());
922 int borderSideHeight = std::max(1, topWidth + bottomWidth);
927 bottomWidth *= borderSideScaleFactor;
934 bool drawBottom = bottomSlice > 0 && bottomWidth > 0;
936 && (imageHeight - topSlice - bottomSlice) > 0 && (borderImageRect.height() - topWidth - bottomWidth) > 0;
941 float destinationHeight = borderImageRect.height() - topWidth - bottomWidth;
949 float bottomSideScale = drawBottom ? (float)bottomWidth / bottomSlice : 1;
961 // The bottom left corner rect is (tx, ty + h - bottomWidth, leftWidth, bottomWidth)
964 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.maxY() - bottomWidth, leftWidth, bottomWidth),
985 // The bottom right corner rect is (tx + w - rightWidth, ty + h - bottomWidth, rightWidth, bottomWidth)
988 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.maxY() - bottomWidth, rightWidth, bottomWidth),
1011 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.maxY() - bottomWidth,
1012 destinationWidth, bottomWidth),
1813 LayoutUnit bottomWidth = edges[BSBottom].usedWidth() / 2;
1818 topWidth, bottomWidth, leftWidth, rightWidth,