Home
last modified time | relevance | path

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

12345

/external/skia/tests/
DPathOpsSimplifyTest.cpp446 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15()
453 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15x()
459 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16()
460 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16()
467 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16x()
468 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16x()
474 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17()
475 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17()
482 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17x()
483 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17x()
[all …]
DPathOpsOpRectThreadedTest.cpp51 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
53 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
57 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain()
59 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain()
DPathOpsOpTest.cpp359 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect1()
360 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testIntersect1()
366 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testUnion1()
367 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testUnion1()
373 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testDiff1()
374 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testDiff1()
380 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testXor1()
381 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testXor1()
387 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect2()
388 two.addRect(0, 3, 9, 9, SkPath::kCW_Direction); in testIntersect2()
[all …]
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 PathOpsInverseTest()
24 two.addRect(3, 3, 9, 9, (SkPath::Direction) twoDir); in PathOpsInverseTest()
DPathTest.cpp36 path->addRect(SkRect::MakeXYWH(10, 10, 10, 1)); in make_path1()
364 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
369 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
374 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
379 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
384 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect()
392 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite()
399 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite()
405 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite()
874 path0.addRect(rects[i]); in test_bounds()
[all …]
/external/skia/gm/
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.cpp148 path->addRect(bounds, SkPath::kCW_Direction); in make0()
149 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0()
154 path->addRect(bounds, SkPath::kCW_Direction); in make1()
155 path->addRect(inset(bounds), SkPath::kCCW_Direction); in make1()
172 path->addRect(bounds, SkPath::kCW_Direction); in make4()
180 path->addRect(bounds, SkPath::kCW_Direction); in make5()
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.cpp73 one.addRect(10, 10, 70, 70); in onDraw()
76 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/chromium_org/third_party/skia/src/utils/
DSkPathUtils.cpp78 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), in Line2path_span()
88 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), in Line2path_span()
92 path->addRect(SkRect::MakeXYWH(width - SK_Scalar1, SkIntToScalar(lineIdx), in Line2path_span()
/external/skia/src/utils/
DSkPathUtils.cpp78 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), in Line2path_span()
88 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), in Line2path_span()
92 path->addRect(SkRect::MakeXYWH(width - SK_Scalar1, SkIntToScalar(lineIdx), in Line2path_span()
/external/skia/src/gpu/
DGrRectanizer.cpp33 virtual bool addRect(int w, int h, GrIPoint16* loc);
74 bool GrRectanizerPow2::addRect(int width, int height, GrIPoint16* loc) { in addRect() function in GrRectanizerPow2
DGrRectanizer_fifo.cpp27 virtual bool addRect(int w, int h, GrIPoint16* loc);
68 bool GrRectanizerFIFO::addRect(int width, int height, GrIPoint16* loc) { in addRect() function in GrRectanizerFIFO
DGrRectanizer_skyline.cpp33 virtual bool addRect(int w, int h, GrIPoint16* loc);
58 bool GrRectanizerSkyline::addRect(int width, int height, GrIPoint16* loc) { in addRect() function in GrRectanizerSkyline
DGrRectanizer.h34 virtual bool addRect(int width, int height, GrIPoint16* loc) = 0;
/external/chromium_org/third_party/skia/src/gpu/
DGrRectanizer_fifo.cpp27 virtual bool addRect(int w, int h, GrIPoint16* loc);
68 bool GrRectanizerFIFO::addRect(int width, int height, GrIPoint16* loc) { in addRect() function in GrRectanizerFIFO
DGrRectanizer.cpp33 virtual bool addRect(int w, int h, GrIPoint16* loc);
74 bool GrRectanizerPow2::addRect(int width, int height, GrIPoint16* loc) { in addRect() function in GrRectanizerPow2
DGrRectanizer_skyline.cpp33 virtual bool addRect(int w, int h, GrIPoint16* loc);
58 bool GrRectanizerSkyline::addRect(int width, int height, GrIPoint16* loc) { in addRect() function in GrRectanizerSkyline
DGrRectanizer.h34 virtual bool addRect(int width, int height, GrIPoint16* loc) = 0;
/external/skia/bench/
DRectoriBench.cpp45 p.addRect(outer); in onDraw()
46 p.addRect(inner); in onDraw()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAreaElement.cpp168 path.addRect(FloatRect(x0, y0, x1 - x0, y1 - y0)); in getRegion()
172 path.addRect(FloatRect(0, 0, width, height)); in getRegion()

12345