Home
last modified time | relevance | path

Searched refs:testRects (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/tests/
DWritePixelsTest.cpp326 const SkIRect testRects[] = { in test_write_pixels() local
385 for (size_t r = 0; r < SK_ARRAY_COUNT(testRects); ++r) { in test_write_pixels()
386 const SkIRect& rect = testRects[r]; in test_write_pixels()
/third_party/flutter/skia/tests/
DWritePixelsTest.cpp326 const SkIRect testRects[] = { in test_write_pixels() local
385 for (size_t r = 0; r < SK_ARRAY_COUNT(testRects); ++r) { in test_write_pixels()
386 const SkIRect& rect = testRects[r]; in test_write_pixels()
/third_party/flutter/skia/src/core/
DSkPath.cpp629 SkRect testRects[2]; in isNestedFillRects() local
630 if (!isRectContour(true, &currVerb, &pts, nullptr, &testDirs[0], &testRects[0])) { in isNestedFillRects()
633 if (isRectContour(false, &currVerb, &pts, nullptr, &testDirs[1], &testRects[1])) { in isNestedFillRects()
634 if (testRects[0].contains(testRects[1])) { in isNestedFillRects()
636 rects[0] = testRects[0]; in isNestedFillRects()
637 rects[1] = testRects[1]; in isNestedFillRects()
645 if (testRects[1].contains(testRects[0])) { in isNestedFillRects()
647 rects[0] = testRects[1]; in isNestedFillRects()
648 rects[1] = testRects[0]; in isNestedFillRects()
/third_party/skia/src/core/
DSkPath.cpp3601 SkRect testRects[2]; in IsNestedFillRects() local
3602 if (!IsRectContour(path, true, &currVerb, &pts, nullptr, &testDirs[0], &testRects[0])) { in IsNestedFillRects()
3605 if (IsRectContour(path, false, &currVerb, &pts, nullptr, &testDirs[1], &testRects[1])) { in IsNestedFillRects()
3606 if (testRects[0].contains(testRects[1])) { in IsNestedFillRects()
3608 rects[0] = testRects[0]; in IsNestedFillRects()
3609 rects[1] = testRects[1]; in IsNestedFillRects()
3617 if (testRects[1].contains(testRects[0])) { in IsNestedFillRects()
3619 rects[0] = testRects[1]; in IsNestedFillRects()
3620 rects[1] = testRects[0]; in IsNestedFillRects()