/external/skia/tests/ |
D | PathOpsDRectTest.cpp | 46 SkDRect rect, rect2; in DEF_TEST() local 53 rect2.setBounds(quad); in DEF_TEST() 54 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST() 56 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() 58 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom}; in DEF_TEST() 67 rect2.setBounds(cubic); in DEF_TEST() 68 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST() 70 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() 72 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom}; in DEF_TEST()
|
D | PathOpsCubicIntersectionTest.cpp | 495 SkDRect rect1, rect2; in CubicIntersection_RandTest() local 500 rect2.setBounds(c2); in CubicIntersection_RandTest() 501 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest() 502 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom; in CubicIntersection_RandTest()
|
D | Writer32Test.cpp | 193 const SkRect rect2 = SkRect::MakeXYWH(5, 6, 7, 8); in testOverwriteT() local 213 writer->overwriteTAt(padding + sizeof(uint32_t), rect2); in testOverwriteT() 217 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect2); in testOverwriteT()
|
/external/skqp/tests/ |
D | PathOpsDRectTest.cpp | 46 SkDRect rect, rect2; in DEF_TEST() local 53 rect2.setBounds(quad); in DEF_TEST() 54 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST() 56 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() 58 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom}; in DEF_TEST() 67 rect2.setBounds(cubic); in DEF_TEST() 68 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST() 70 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() 72 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom}; in DEF_TEST()
|
D | PathOpsCubicIntersectionTest.cpp | 495 SkDRect rect1, rect2; in CubicIntersection_RandTest() local 500 rect2.setBounds(c2); in CubicIntersection_RandTest() 501 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest() 502 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom; in CubicIntersection_RandTest()
|
D | Writer32Test.cpp | 193 const SkRect rect2 = SkRect::MakeXYWH(5, 6, 7, 8); in testOverwriteT() local 213 writer->overwriteTAt(padding + sizeof(uint32_t), rect2); in testOverwriteT() 217 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect2); in testOverwriteT()
|
/external/skia/gm/ |
D | daa.cpp | 59 SkPoint rect2[] = {{K*0.5f,0},{K*0.5f,K},{K,K},{K,0}}; variable 60 path.addPoly(rect2, SK_ARRAY_COUNT(rect2), false); 79 SkPoint rect2[] = {{K*0.5f,0},{K*0.5f,K},{K,K},{K,0}}; variable 82 path.addPoly(rect2, SK_ARRAY_COUNT(rect2), false); 101 SkPoint rect2[] = {{K*0.5f,0},{K,0},{K,K},{K*0.5f,K}}; variable 104 path.addPoly(rect2, SK_ARRAY_COUNT(rect2), false);
|
D | clip_strokerect.cpp | 54 SkRect rect2 = SkRect::MakeXYWH(20, 120, 100, 19); in onDraw() local 57 canvas->clipRect(rect2, true); in onDraw() 63 canvas->drawRect(rect2, p); in onDraw()
|
D | clipdrawdraw.cpp | 45 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f); variable 48 Draw(canvas, rect2);
|
D | thinstrokedrects.cpp | 36 constexpr SkRect rect2 = { 0, 0, 20, 20 }; in onDraw() local 63 canvas->drawRect(rect2, paint); in onDraw()
|
/external/skqp/experimental/c-api-example/ |
D | skia-c-example.c | 62 sk_rect_t rect2; in draw() local 63 rect2.left = 120.0f; in draw() 64 rect2.top = 120.0f; in draw() 65 rect2.right = 520.0f; in draw() 66 rect2.bottom = 360.0f; in draw() 67 sk_canvas_draw_oval(canvas, &rect2, fill); in draw()
|
D | c.md | 83 sk_rect_t rect2; 84 rect2.left = 120.0f; 85 rect2.top = 120.0f; 86 rect2.right = 520.0f; 87 rect2.bottom = 360.0f; 88 sk_canvas_draw_oval(canvas, &rect2, fill);
|
/external/skia/experimental/c-api-example/ |
D | skia-c-example.c | 62 sk_rect_t rect2; in draw() local 63 rect2.left = 120.0f; in draw() 64 rect2.top = 120.0f; in draw() 65 rect2.right = 520.0f; in draw() 66 rect2.bottom = 360.0f; in draw() 67 sk_canvas_draw_oval(canvas, &rect2, fill); in draw()
|
D | c.md | 83 sk_rect_t rect2; 84 rect2.left = 120.0f; 85 rect2.top = 120.0f; 86 rect2.right = 520.0f; 87 rect2.bottom = 360.0f; 88 sk_canvas_draw_oval(canvas, &rect2, fill);
|
/external/skia/docs/ |
D | SkRect_Reference.bmh | 84 SkRect rect2 = SkRect::MakeIWH(25, 35); 87 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 216 SkRect rect2 = SkRect::MakeIWH(2, 35); 217 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!'); 219 rect1 == rect2 821 SkRect rect2; 822 rect2.set(3, 4, 1, 2); 823 SkDebugf("rect2: {%g, %g, %g, %g}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 826 rect2: {3, 4, 1, 2} 845 SkRect rect2; [all …]
|
D | SkIRect_Reference.bmh | 80 SkIRect rect2 = SkIRect::MakeSize({25, 35}); 83 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 573 SkIRect rect2; 574 rect2.set(3, 4, 1, 2); 575 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 578 rect2: {3, 4, 1, 2} 597 SkIRect rect2; 598 rect2.setLTRB(3, 4, 1, 2); 599 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 602 rect2: {3, 4, 1, 2}
|
/external/skqp/docs/ |
D | SkRect_Reference.bmh | 84 SkRect rect2 = SkRect::MakeIWH(25, 35); 87 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 216 SkRect rect2 = SkRect::MakeIWH(2, 35); 217 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!'); 219 rect1 == rect2 821 SkRect rect2; 822 rect2.set(3, 4, 1, 2); 823 SkDebugf("rect2: {%g, %g, %g, %g}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 826 rect2: {3, 4, 1, 2} 845 SkRect rect2; [all …]
|
D | SkIRect_Reference.bmh | 80 SkIRect rect2 = SkIRect::MakeSize({25, 35}); 83 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 573 SkIRect rect2; 574 rect2.set(3, 4, 1, 2); 575 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 578 rect2: {3, 4, 1, 2} 597 SkIRect rect2; 598 rect2.setLTRB(3, 4, 1, 2); 599 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 602 rect2: {3, 4, 1, 2}
|
/external/skqp/gm/ |
D | clip_strokerect.cpp | 54 SkRect rect2 = SkRect::MakeXYWH(20, 120, 100, 19); in onDraw() local 57 canvas->clipRect(rect2, true); in onDraw() 63 canvas->drawRect(rect2, p); in onDraw()
|
D | clipdrawdraw.cpp | 45 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f); variable 48 Draw(canvas, rect2);
|
D | thinstrokedrects.cpp | 36 constexpr SkRect rect2 = { 0, 0, 20, 20 }; in onDraw() local 63 canvas->drawRect(rect2, paint); in onDraw()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | type_conversion_unittest.cc | 99 RectPtr rect2(Rect::From(rr)); in TEST() local 100 EXPECT_EQ(rect->x, rect2->x); in TEST() 101 EXPECT_EQ(rect->y, rect2->y); in TEST() 102 EXPECT_EQ(rect->width, rect2->width); in TEST() 103 EXPECT_EQ(rect->height, rect2->height); in TEST()
|
/external/fonttools/Lib/fontTools/misc/ |
D | arrayTools.py | 84 def sectRect(rect1, rect2): argument 90 (xMin2, yMin2, xMax2, yMax2) = rect2 97 def unionRect(rect1, rect2): argument 103 (xMin2, yMin2, xMax2, yMax2) = rect2
|
/external/skqp/src/pathops/ |
D | SkPathOpsOp.cpp | 255 SkRect rect1, rect2; in OpDebug() local 256 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) { in OpDebug() 259 if (rect1.intersect(rect2)) { in OpDebug()
|
/external/skia/src/pathops/ |
D | SkPathOpsOp.cpp | 255 SkRect rect1, rect2; in OpDebug() local 256 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) { in OpDebug() 259 if (rect1.intersect(rect2)) { in OpDebug()
|