/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 | 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()
|
D | CanvasTest.cpp | 73 SkRect rect, rect2; in DEF_TEST() local 83 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds(&rect2)); in DEF_TEST() 84 REPORTER_ASSERT(reporter, rect == rect2); in DEF_TEST() 95 REPORTER_ASSERT(reporter, !canvas.getLocalClipBounds(&rect2)); in DEF_TEST() 96 REPORTER_ASSERT(reporter, rect == rect2); in DEF_TEST()
|
D | RRectInPathTest.cpp | 324 SkRect rect2 = SkRect::MakeLTRB(0.358211994f, 0.755430222f, 0.872866154f, in test_round_rect_basic() local 328 rect2, in test_round_rect_basic()
|
D | RoundRectTest.cpp | 235 SkRect rect2 = SkRect::MakeLTRB(0.358211994f, 0.755430222f, 0.872866154f, 0.806214333f); in test_round_rect_basic() local 238 rect2, in test_round_rect_basic()
|
D | PictureTest.cpp | 622 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(7), SkIntToScalar(7), in test_clip_bound_opt() local 631 path.addOval(rect2); in test_clip_bound_opt()
|
D | ClipStackTest.cpp | 421 SkRect rect2 = SkRect::MakeXYWH(50, 50, 100, 100); in test_rect_replace() local 466 stack.clipRect(rect2, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_replace() 486 stack.clipRect(rect2, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_replace()
|
/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/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()
|
D | savelayer.cpp | 92 SkRect rect1{40, 5, 80, 70}, rect2{5, 40, 70, 80}, rect3{10, 10, 70, 70}; local 98 canvas->saveLayer({ &rect2, &paint2, nullptr, flag});
|
/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()
|
D | struct_unittest.cc | 141 RectPtr rect2; in TEST_F() local 142 mojo::internal::Deserialize<RectPtr>(data, &rect2, nullptr); in TEST_F() 144 CheckRect(*rect2); in TEST_F()
|
/external/opencv/cv/src/ |
D | cvgeometry.cpp | 45 cvMaxRect( const CvRect* rect1, const CvRect* rect2 ) in cvMaxRect() argument 47 if( rect1 && rect2 ) in cvMaxRect() 53 b = rect2->x; in cvMaxRect() 58 b += rect2->width; in cvMaxRect() 65 b = rect2->y; in cvMaxRect() 70 b += rect2->height; in cvMaxRect() 79 else if( rect2 ) in cvMaxRect() 80 return *rect2; in cvMaxRect()
|
/external/pdfium/xfa/fxbarcode/oned/ |
D | BC_OnedUPCAWriter.cpp | 169 CFX_FloatRect rect2(0.0, (FX_FLOAT)(m_Height - iTextHeight), in ShowChars() local 172 matr2.TransformRect(rect2); in ShowChars() 173 re = rect2.GetOuterRect(); in ShowChars() 214 FX_RECT rect2(0, 0, (int)strWidth, iTextHeight); in ShowChars() local 215 ge.FillRect(&rect2, m_backgroundColor); in ShowChars()
|
D | BC_OnedEAN13Writer.cpp | 216 CFX_FloatRect rect2(0.0f, (FX_FLOAT)(m_Height - iTextHeight), in ShowChars() local 219 matr2.TransformRect(rect2); in ShowChars() 220 re = rect2.GetOuterRect(); in ShowChars()
|
/external/skia/src/effects/ |
D | SkRRectsGaussianEdgeMaskFilter.cpp | 517 SkRect rect1, rect2; in CreateProc() local 523 buf.readRect(&rect2); in CreateProc() 530 SkRRect::MakeRectXY(rect2, xRad2, yRad2), in CreateProc()
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpage.h | 112 const CFX_FloatRect& rect2);
|
D | cpdf_textpage.cpp | 1330 CFX_FloatRect rect2 = m_pPreTextObj->GetRect(); in ProcessInsertObject() local 1332 rect1.Intersect(rect2); in ProcessInsertObject() 1333 if ((rect1.IsEmpty() && rect2.Height() > 5 && rect3.Height() > 5) || in ProcessInsertObject() 1519 const CFX_FloatRect& rect2) { in IsRectIntersect() argument 1521 rect.Intersect(rect2); in IsRectIntersect()
|
/external/skia/samplecode/ |
D | SampleAll.cpp | 334 SkRect rect2 = {0, 0, SkIntToScalar(65), SkIntToScalar(20) }; in drawPicture() local 445 canvas->drawRect(rect2, paint); in drawPicture()
|