Lines Matching defs:imageHeight
181 void SetImageShader(SkPaint* paint, int imageWidth, int imageHeight, SkTileMode xTile,
183 auto surface = SkSurface::MakeRasterN32Premul(imageWidth, imageHeight);
230 void ImageShaderTestSetup(SkDOM* dom, SkPaint* paint, int imageWidth, int imageHeight,
232 SetImageShader(paint, imageWidth, imageHeight, xTile, yTile);
243 int imageWidth = 3, imageHeight = 3;
245 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight,
257 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight);
268 int imageWidth = 3, imageHeight = 3;
270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight,
287 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight);
328 int imageWidth = 3, imageHeight = 3;
330 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight,
347 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight);
350 REPORTER_ASSERT(reporter, atoi(dom.findAttr(patternNode, "height")) == imageHeight);