Searched refs:topSlice (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBoxModelObject.cpp | 1186 …int topSlice = min<int>(imageHeight, valueForLength(ninePieceImage.imageSlices().top(), imageHeigh… in paintNinePieceImage() local 1194 …ImageSide(ninePieceImage.borderSlices().top(), style->borderTopWidth(), topSlice, borderImageRect.… in paintNinePieceImage() 1214 bool drawTop = topSlice > 0 && topWidth > 0; in paintNinePieceImage() 1218 …&& (imageHeight - topSlice - bottomSlice) > 0 && (borderImageRect.height() - topWidth - bottomWidt… in paintNinePieceImage() 1226 float sourceHeight = imageHeight - topSlice - bottomSlice; in paintNinePieceImage() 1230 float topSideScale = drawTop ? (float)topWidth / topSlice : 1; in paintNinePieceImage() 1240 LayoutRect(0, 0, leftSlice, topSlice), op); in paintNinePieceImage() 1252 IntRect(0, topSlice, leftSlice, sourceHeight), in paintNinePieceImage() 1262 … LayoutRect(imageWidth - rightSlice, 0, rightSlice, topSlice), op); in paintNinePieceImage() 1274 … IntRect(imageWidth - rightSlice, topSlice, rightSlice, sourceHeight), in paintNinePieceImage() [all …]
|