Home | History | Annotate | Download | only in rendering

Lines Matching refs:topSlice

945     int topSlice = min(imageHeight, ninePieceImage.slices().top().calcValue(imageHeight));
956 int topWidth = fitToBorder ? style->borderTopWidth() : topSlice;
961 bool drawTop = topSlice > 0 && topWidth > 0;
965 (imageHeight - topSlice - bottomSlice) > 0 && (h - topWidth - bottomWidth) > 0;
974 // The rect to use from within the image is obtained from our slice, and is (0, 0, leftSlice, topSlice)
977 IntRect(0, 0, leftSlice, topSlice), op);
989 IntRect(0, topSlice, leftSlice, imageHeight - topSlice - bottomSlice),
996 // The rect to use from within the image is obtained from our slice, and is (imageWidth - rightSlice, 0, rightSlice, topSlice)
999 IntRect(imageWidth - rightSlice, 0, rightSlice, topSlice), op);
1010 IntRect(imageWidth - rightSlice, topSlice, rightSlice, imageHeight - topSlice - bottomSlice),
1017 IntRect(leftSlice, 0, imageWidth - rightSlice - leftSlice, topSlice),
1031 IntRect(leftSlice, topSlice, imageWidth - rightSlice - leftSlice, imageHeight - topSlice - bottomSlice),