• Home
  • Raw
  • Download

Lines Matching refs:SkIRect

21 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
182 SkIRect srcRect = SkIRect::MakeXYWH(x, y, bw, bh); in checkRead()
183 SkIRect clippedSrcRect = DEV_RECT; in checkRead()
234 void init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init) { in init_bitmap()
258 const SkIRect testRects[] = { in ReadPixelsTest()
262 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), in ReadPixelsTest()
264 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4), in ReadPixelsTest()
266 SkIRect::MakeLTRB(-10, -10, -1, -1), in ReadPixelsTest()
268 SkIRect::MakeLTRB(-10, -10, 0, 0), in ReadPixelsTest()
270 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4), in ReadPixelsTest()
272 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4), in ReadPixelsTest()
274 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0), in ReadPixelsTest()
276 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4), in ReadPixelsTest()
278 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4), in ReadPixelsTest()
280 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1), in ReadPixelsTest()
282 SkIRect::MakeLTRB(DEV_W, -10, DEV_W + 10, 0), in ReadPixelsTest()
284 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H + 10), in ReadPixelsTest()
286 SkIRect::MakeLTRB(-10, -10, 0, DEV_H + 10), in ReadPixelsTest()
288 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W / 4, DEV_H + 10), in ReadPixelsTest()
290 SkIRect::MakeLTRB(-10, DEV_H / 4, DEV_W / 4, 3 * DEV_H / 4), in ReadPixelsTest()
292 SkIRect::MakeLTRB(-10, DEV_H + 1, -1, DEV_H + 10), in ReadPixelsTest()
294 SkIRect::MakeLTRB(-10, DEV_H, 0, DEV_H + 10), in ReadPixelsTest()
296 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10), in ReadPixelsTest()
298 SkIRect::MakeLTRB(0, DEV_H, DEV_W, DEV_H + 10), in ReadPixelsTest()
300 SkIRect::MakeLTRB(3 * DEV_W / 4, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10), in ReadPixelsTest()
302 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H + 10), in ReadPixelsTest()
342 const SkIRect& srcRect = testRects[rect]; in ReadPixelsTest()
365 bool expectSuccess = SkIRect::Intersects(srcRect, DEV_RECT); in ReadPixelsTest()
384 SkIRect clippedRect = DEV_RECT; in ReadPixelsTest()