Home | History | Annotate | Download | only in paint

Lines Matching defs:leftWidth

915     int leftWidth = computeBorderImageSide(ninePieceImage.borderSlices().left(), style->borderLeftWidth(), leftSlice, borderImageRect.width());
921 int borderSideWidth = std::max(1, leftWidth + rightWidth);
928 leftWidth *= borderSideScaleFactor;
931 bool drawLeft = leftSlice > 0 && leftWidth > 0;
935 bool drawMiddle = ninePieceImage.fill() && (imageWidth - leftSlice - rightSlice) > 0 && (borderImageRect.width() - leftWidth - rightWidth) > 0
940 float destinationWidth = borderImageRect.width() - leftWidth - rightWidth;
946 float leftSideScale = drawLeft ? (float)leftWidth / leftSlice : 1;
954 // The top left corner rect is (tx, ty, leftWidth, topWidth)
957 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, topWidth)),
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),
971 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + topWidth, leftWidth, destinationHeight),
1004 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.y(), destinationWidth, topWidth),
1011 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.maxY() - bottomWidth,
1041 IntRect(borderImageRect.x() + leftWidth, borderImageRect.y() + topWidth, destinationWidth, destinationHeight),
1814 LayoutUnit leftWidth = edges[BSLeft].usedWidth() / 2;
1818 topWidth, bottomWidth, leftWidth, rightWidth,