Home
last modified time | relevance | path

Searched refs:rrect1 (Results 1 – 7 of 7) sorted by relevance

/external/skia/docs/examples/
DRRect_equal_operator.cpp8 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, 50, 200);
9 SkRRect rrect2 = SkRRect::MakeRectXY(rrect1.rect(), 25, 100);
10 SkRRect rrect3 = SkRRect::MakeOval(rrect1.rect());
11 canvas->drawRRect(rrect1, SkPaint());
12 std::string str = "rrect1 " + std::string(rrect1 == rrect2 ? "=" : "!") + "= rrect2";
DRRect_notequal_operator.cpp8 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, 50, 100);
9 SkRRect rrect2 = SkRRect::MakeRectXY(rrect1.rect(), 50, 50);
10 SkRRect rrect3 = SkRRect::MakeOval(rrect1.rect());
11 canvas->drawRRect(rrect1, SkPaint());
12 std::string str = "rrect1 " + std::string(rrect1 == rrect2 ? "=" : "!") + "= rrect2";
DRRect_rect.cpp8 SkRRect rrect1 = SkRRect::MakeRectXY({left, 20, 60, 220}, 50, 200); in draw() local
9 SkDebugf("left bounds: (%g) %g\n", left, rrect1.rect().fLeft); in draw()
DRRect_radii.cpp8 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, radiusX, 200); in draw() local
9 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX); in draw()
/external/skqp/docs/
DSkRRect_Reference.bmh870 SkRRect rrect1 = SkRRect::MakeRectXY({left, 20, 60, 220}, 50, 200);
871 SkDebugf("left bounds: (%g) %g\n", left, rrect1.rect().fLeft);
901 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, radiusX, 200);
902 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX);
946 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, 50, 200);
947 SkRRect rrect2 = SkRRect::MakeRectXY(rrect1.rect(), 25, 100);
948 SkRRect rrect3 = SkRRect::MakeOval(rrect1.rect());
949 canvas->drawRRect(rrect1, SkPaint());
950 std::string str = "rrect1 " + std::string(rrect1 == rrect2 ? "=" : "!") + "= rrect2";
972 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, 50, 100);
[all …]
/external/skqp/tests/
DPathTest.cpp2618 SkRRect rrect0, rrect1; in write_and_read_back() local
2620 SkPathPriv::IsRRect(readBack, &rrect1, &dir1, &start1)) { in write_and_read_back()
2621 REPORTER_ASSERT(reporter, rrect0 == rrect1); in write_and_read_back()
/external/skia/tests/
DPathTest.cpp2609 SkRRect rrect0, rrect1; in write_and_read_back() local
2611 SkPathPriv::IsRRect(readBack, &rrect1, &dir1, &start1)) { in write_and_read_back()
2612 REPORTER_ASSERT(reporter, rrect0 == rrect1); in write_and_read_back()