Home
last modified time | relevance | path

Searched refs:addRect (Results 1 – 25 of 77) sorted by relevance

1234

/external/skia/tests/
DPathOpsSimplifyTest.cpp444 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15()
451 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15x()
457 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16()
458 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16()
465 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16x()
466 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16x()
472 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17()
473 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17()
480 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17x()
481 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17x()
[all …]
DPathOpsOpRectThreadedTest.cpp59 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
61 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
65 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain()
67 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain()
DPathOpsBuilderTest.cpp29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST()
41 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST()
54 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST()
55 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST()
DPathOpsSimplifyRectThreadedTest.cpp67 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
98 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
129 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
160 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
DPathOpsInverseTest.cpp17 one.addRect(0, 0, 6, 6, (SkPath::Direction) oneDir); in DEF_TEST()
24 two.addRect(3, 3, 9, 9, (SkPath::Direction) twoDir); in DEF_TEST()
DPathOpsOpTest.cpp380 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect1()
381 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testIntersect1()
387 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testUnion1()
388 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testUnion1()
394 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testDiff1()
395 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testDiff1()
401 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testXor1()
402 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testXor1()
408 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect2()
409 two.addRect(0, 3, 9, 9, SkPath::kCW_Direction); in testIntersect2()
[all …]
DGpuRectanizerTest.cpp27 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc)); in test_rectanizer_basic()
39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { in test_rectanizer_inserts()
DPathTest.cpp148 path->addRect(SkRect::MakeXYWH(10, 10, 10, 1)); in make_path1()
425 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
430 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
435 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
440 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
445 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
453 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite()
460 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite()
466 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite()
933 path0.addRect(rects[i]); in test_bounds()
[all …]
DErrorTest.cpp49 path.addRect(r); in DEF_TEST()
DClipStackTest.cpp78 rp.addRect(r); in test_assign_and_comparison()
111 p.addRect(r); in test_assign_and_comparison()
401 path.addRect(rect); in test_rect_inverse_fill()
730 path.addRect(outsideRect); in test_quickContains()
739 path.addRect(insideRect); in test_quickContains()
748 path.addRect(intersectingRect); in test_quickContains()
757 path.addRect(nonIntersectingRect); in test_quickContains()
827 path.addRect(rect); in add_rect()
/external/skia/gm/
Dstrokefill.cpp84 path3.addRect(r, SkPath::kCW_Direction); in onDraw()
86 path3.addRect(r, SkPath::kCCW_Direction); in onDraw()
93 path4.addRect(r, SkPath::kCCW_Direction); in onDraw()
95 path4.addRect(r, SkPath::kCW_Direction); in onDraw()
102 path4.addRect(r, SkPath::kCCW_Direction); in onDraw()
111 path4.addRect(r, SkPath::kCW_Direction); in onDraw()
Dpathreverse.cpp39 path.addRect(r); test_rev(canvas, path); in test_rev()
43 path.addRect(r); test_rev(canvas, path); in test_rev()
86 path.addRect(r); test_rev(canvas, path); in onDraw()
90 path.addRect(r); test_rev(canvas, path); in onDraw()
Dstrokes.cpp149 path->addRect(bounds, SkPath::kCW_Direction); in make0()
150 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0()
155 path->addRect(bounds, SkPath::kCW_Direction); in make1()
156 path->addRect(inset(bounds), SkPath::kCCW_Direction); in make1()
173 path->addRect(bounds, SkPath::kCW_Direction); in make4()
181 path->addRect(bounds, SkPath::kCW_Direction); in make5()
Dblurs.cpp121 path.addRect(outer, SkPath::kCW_Direction); in onDraw()
122 path.addRect(inner, SkPath::kCCW_Direction); in onDraw()
152 path.addRect(outer, SkPath::kCW_Direction); in onDraw()
153 path.addRect(inner, SkPath::kCW_Direction); in onDraw()
Dbigblurs.cpp44 rectori.addRect(bigRect); in onDraw()
45 rectori.addRect(insetRect, SkPath::kCCW_Direction); in onDraw()
Dpathinterior.cpp82 path.addRect(r, outerDir); in onDraw()
88 path.addRect(r, innerDir); in onDraw()
Dpathopsinverse.cpp72 one.addRect(10, 10, 70, 70); in onDraw()
75 two.addRect(40, 40, 100, 100); in onDraw()
Dinversepaths.cpp17 path.addRect(rect); in generate_square()
24 path.addRect(rect); in generate_rect_line()
Dblurrect.cpp28 path.addRect(rect); in draw_donut()
32 path.addRect(rect); in draw_donut()
44 path.addRect(rect); in draw_donut_skewed()
50 path.addRect(rect); in draw_donut_skewed()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm77 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction);
78 path.addRect(20, 20, 50, 50, SkPath::kCW_Direction);
79 path.addRect(50, 50, 90, 90, SkPath::kCCW_Direction);
84 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction);
85 path.addRect(20, 20, 80, 80, SkPath::kCW_Direction);
172 SkDebugf("path.addRect(%1.9g, %1.9g, %1.9g, %1.9g);\n",
/external/skia/bench/
DBlurRectsBench.cpp37 path.addRect(fOuter, SkPath::kCW_Direction); in onDraw()
38 path.addRect(fInner, SkPath::kCW_Direction); in onDraw()
DRectoriBench.cpp45 p.addRect(outer); in onDraw()
46 p.addRect(inner); in onDraw()
/external/skia/src/gpu/
DGrRectanizer.h31 virtual bool addRect(int width, int height, SkIPoint16* loc) = 0;
DGrRectanizer_skyline.h33 bool addRect(int w, int h, SkIPoint16* loc) override;
DGrRectanizer_pow2.cpp11 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() function in GrRectanizerPow2

1234