/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 | 494 SkDRect rect1, rect2; in CubicIntersection_RandTest() local 499 rect2.setBounds(c2); in CubicIntersection_RandTest() 500 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest() 501 && 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()
|
D | PathOpsBuilderTest.cpp | 54 SkPath rect2, rect3; in DEF_TEST() local 55 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 58 builder.add(rect2, kUnion_SkPathOp); in DEF_TEST()
|
/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()
|
D | PathOpsBuilderTest.cpp | 54 SkPath rect2, rect3; in DEF_TEST() local 55 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 58 builder.add(rect2, kUnion_SkPathOp); in DEF_TEST()
|
/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/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/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 | 47 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f); variable 50 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/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 | 47 const SkRect rect2 = SkRect::MakeLTRB(207.5f, 179.499f, 530.5f, 429.5f); variable 50 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/fonttools/Lib/fontTools/misc/ |
D | arrayTools.py | 86 def sectRect(rect1, rect2): argument 92 (xMin2, yMin2, xMax2, yMax2) = rect2 99 def unionRect(rect1, rect2): argument 105 (xMin2, yMin2, xMax2, yMax2) = rect2
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | type_conversion_unittest.cc | 150 RectPtr rect2(Rect::From(rr)); in TEST() local 151 EXPECT_EQ(rect->x, rect2->x); in TEST() 152 EXPECT_EQ(rect->y, rect2->y); in TEST() 153 EXPECT_EQ(rect->width, rect2->width); in TEST() 154 EXPECT_EQ(rect->height, rect2->height); in TEST()
|
/external/skia/docs/ |
D | SkRect_Reference.bmh | 116 SkRect rect2 = SkRect::MakeIWH(25, 35); 119 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 286 SkRect rect2 = SkRect::MakeIWH(2, 35); 287 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!'); 289 rect1 == rect2 977 SkRect rect2; 978 rect2.set(3, 4, 1, 2); 979 SkDebugf("rect2: {%g, %g, %g, %g}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 982 rect2: {3, 4, 1, 2} 1008 SkRect rect2; [all …]
|
D | SkIRect_Reference.bmh | 109 SkIRect rect2 = SkIRect::MakeSize({25, 35}); 112 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 787 SkIRect rect2; 788 rect2.set(3, 4, 1, 2); 789 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 792 rect2: {3, 4, 1, 2} 818 SkIRect rect2; 819 rect2.setLTRB(3, 4, 1, 2); 820 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 823 rect2: {3, 4, 1, 2}
|
/external/skqp/docs/ |
D | SkRect_Reference.bmh | 133 SkRect rect2 = SkRect::MakeIWH(25, 35); 136 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 319 SkRect rect2 = SkRect::MakeIWH(2, 35); 320 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!'); 322 rect1 == rect2 1057 SkRect rect2; 1058 rect2.set(3, 4, 1, 2); 1059 SkDebugf("rect2: {%g, %g, %g, %g}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 1062 rect2: {3, 4, 1, 2} 1088 SkRect rect2; [all …]
|
D | SkIRect_Reference.bmh | 120 SkIRect rect2 = SkIRect::MakeSize({25, 35}); 123 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? 772 SkIRect rect2; 773 rect2.set(3, 4, 1, 2); 774 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 777 rect2: {3, 4, 1, 2} 802 SkIRect rect2; 803 rect2.setLTRB(3, 4, 1, 2); 804 SkDebugf("rect2: {%d, %d, %d, %d}\n", rect2.fLeft, rect2.fTop, rect2.fRight, rect2.fBottom); 807 rect2: {3, 4, 1, 2}
|
/external/python/cpython2/Mac/Demo/PICTbrowse/ |
D | oldPICTbrowse.py | 94 rect2 = rect[0]+1, rect[1]+1, rect[2]-17, rect[3]-17 # Scroll bar space 95 self.list = List.LNew(rect2, (0, 0, 1, len(contents)), (0,0), 0, self.wid,
|