/external/skia/tests/ |
D | PathOpsSimplifyTest.cpp | 444 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 …]
|
D | RRectInPathTest.cpp | 127 force_path_contains_rrect(reporter, path, SkPath::kCW_Direction, 6); in test_undetected_paths() 140 force_path_contains_rrect(reporter, path, SkPath::kCW_Direction, 6); in test_undetected_paths() 153 force_path_contains_rrect(reporter, path, SkPath::kCW_Direction, 6); in test_undetected_paths() 166 force_path_contains_rrect(reporter, path, SkPath::kCW_Direction, 6); in test_undetected_paths() 173 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_tricky_radii() 200 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_empty_crbug_458524() 218 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_inset() 247 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_9patch_rrect() 271 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_basic() 345 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_rects() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 34 SkIntToScalar(state.fB), SkPath::kCW_Direction); in testPathOpsRectsMain() 36 SkIntToScalar(state.fD), SkPath::kCW_Direction); in testPathOpsRectsMain() 40 SkIntToScalar(b), SkPath::kCW_Direction); in testPathOpsRectsMain() 42 SkIntToScalar(d), SkPath::kCW_Direction); in testPathOpsRectsMain()
|
D | PathOpsBuilderTest.cpp | 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 55 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 68 circle1.addCircle(5, 6, 4, SkPath::kCW_Direction); in DEF_TEST() 70 circle3.addCircle(6, 5, 6, SkPath::kCW_Direction); in DEF_TEST() 142 path.addRect(0, 0, 1, 1, SkPath::kCW_Direction); in DEF_TEST() 143 path.addRect(2, 2, 3, 3, SkPath::kCW_Direction); in DEF_TEST() 145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST()
|
D | PathOpsSimplifyRectThreadedTest.cpp | 23 SkPath::Direction aCW = state.fA >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain() 25 SkPath::Direction bCW = state.fB >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain() 27 SkPath::Direction cCW = state.fC >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain() 29 SkPath::Direction dCW = state.fD >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
|
D | PathOpsInverseTest.cpp | 14 for (int oneDir = SkPath::kCW_Direction; oneDir != SkPath::kCCW_Direction; ++oneDir) { in DEF_TEST() 20 for (int twoDir = SkPath::kCW_Direction; twoDir != SkPath::kCCW_Direction; in DEF_TEST()
|
D | PathOpsOpCircleThreadedTest.cpp | 26 state.fD ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain() 29 d ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
|
D | PathOpsOpTest.cpp | 380 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 …]
|
D | PathTest.cpp | 1161 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCW_Direction); in test_direction() 1166 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCW_Direction); in test_direction() 1570 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCW_Direction); in test_convexity() 1836 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in test_conservativelyContains() 2174 for (auto dir : {SkPath::kCCW_Direction, SkPath::kCW_Direction}) { in test_is_simple_closed_rect() 2231 SkPath::Direction swapDir = (dir == SkPath::kCW_Direction) in test_is_simple_closed_rect() 2233 : SkPath::kCW_Direction; in test_is_simple_closed_rect() 2358 path.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects() 2397 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects() 2413 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects() [all …]
|
D | GrShapeTest.cpp | 466 SkPath::Direction dirA = SkPath::kCW_Direction, dirB = SkPath::kCW_Direction; in check_equivalence() 1405 for (SkPath::Direction dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_rrect() 1421 static constexpr SkPath::Direction kExamplesDir = SkPath::kCW_Direction; in test_rrect() 1465 SkPath::Direction queryDir = SkPath::kCW_Direction; in test_rrect() 1471 REPORTER_ASSERT(r, SkPath::kCW_Direction == queryDir); in test_rrect() 1478 REPORTER_ASSERT(r, SkPath::kCW_Direction == queryDir); in test_rrect() 1485 REPORTER_ASSERT(r, SkPath::kCW_Direction == queryDir); in test_rrect() 1492 REPORTER_ASSERT(r, SkPath::kCW_Direction == queryDir); in test_rrect() 1499 REPORTER_ASSERT(r, SkPath::kCW_Direction == queryDir); in test_rrect() 1506 REPORTER_ASSERT(r, SkPath::kCW_Direction == queryDir); in test_rrect() [all …]
|
/external/skia/include/core/ |
D | SkPath.h | 29 kCW_Direction, enumerator 188 *dir = isCCW ? kCCW_Direction : kCW_Direction; 210 *dir = isCCW ? kCCW_Direction : kCW_Direction; 688 void addRect(const SkRect& rect, Direction dir = kCW_Direction); 721 Direction dir = kCW_Direction); 731 void addOval(const SkRect& oval, Direction dir = kCW_Direction); 765 Direction dir = kCW_Direction); 783 Direction dir = kCW_Direction); 797 Direction dir = kCW_Direction); 808 void addRRect(const SkRRect& rrect, Direction dir = kCW_Direction);
|
/external/skia/gm/ |
D | strokes.cpp | 334 path->addRect(bounds, SkPath::kCW_Direction); in make0() 335 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0() 340 path->addRect(bounds, SkPath::kCW_Direction); in make1() 346 path->addOval(bounds, SkPath::kCW_Direction); in make2() 347 path->addOval(inset(bounds), SkPath::kCW_Direction); in make2() 352 path->addOval(bounds, SkPath::kCW_Direction); in make3() 358 path->addRect(bounds, SkPath::kCW_Direction); in make4() 361 path->addOval(r, SkPath::kCW_Direction); in make4() 366 path->addRect(bounds, SkPath::kCW_Direction); in make5()
|
D | convex_all_line_paths.cpp | 230 if (SkPath::kCW_Direction == dir) { in GetPath() 265 SkPath path = GetPath(index, SkPath::kCW_Direction); in drawPath() 282 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath() 373 if (SkPath::kCW_Direction == dir) { in GetPath() 443 GetPath(index, SkPath::kCW_Direction, &data, &numPts); in drawPath() 454 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
|
D | blurs.cpp | 91 path.addRect(outer, SkPath::kCW_Direction); 109 path.addRect(outer, SkPath::kCW_Direction); 110 path.addRect(inner, SkPath::kCW_Direction);
|
D | strokefill.cpp | 278 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCW_Direction); 285 …ddCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Direction); 295 …ddCircle(x + SkIntToScalar(360), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCW_Direction); 303 path3.addRect(r, SkPath::kCW_Direction); 314 path4.addRect(r, SkPath::kCW_Direction); 330 path4.addRect(r, SkPath::kCW_Direction);
|
D | circularclips.cpp | 23 fCircle1.addCircle(fX1, fY, fR, SkPath::kCW_Direction); in onOnceBeforeDraw() 24 fCircle2.addCircle(fX2, fY, fR, SkPath::kCW_Direction); in onOnceBeforeDraw()
|
D | convexpaths.cpp | 66 SkPath::kCW_Direction); in makePaths() 73 50 * SK_Scalar1, SkPath::kCW_Direction); in makePaths() 79 SkPath::kCW_Direction); in makePaths() 95 SkPath::kCW_Direction); in makePaths()
|
D | pathinterior.cpp | 77 … SkPath::Direction outerDir = outerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in onDraw() 78 … SkPath::Direction innerDir = innerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in onDraw()
|
D | arcto.cpp | 62 SkPath::kCW_Direction, oval.right(), oval.bottom()); 97 path.arcTo(0, 0, 0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 200, 200); 102 path.arcTo(80, 80, 0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 200, 100);
|
D | nested.cpp | 101 AddShape(&path, outerRect, (Shapes) outerShape, SkPath::kCW_Direction); in onDraw()
|
D | pathcontourstart.cpp | 101 drawOneColumn(canvas, SkPath::kCW_Direction, makePath); in drawDirs()
|
/external/skia/bench/ |
D | BlurRectsBench.cpp | 37 path.addRect(fOuter, SkPath::kCW_Direction); in onDraw() 38 path.addRect(fInner, SkPath::kCW_Direction); in onDraw()
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 82 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction); 83 path.addRect(20, 20, 50, 50, SkPath::kCW_Direction); 89 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction); 90 path.addRect(20, 20, 80, 80, SkPath::kCW_Direction);
|
/external/skia/src/core/ |
D | SkStroke.h | 64 SkPath::Direction = SkPath::kCW_Direction) const;
|
/external/skia/samplecode/ |
D | SampleStrokePath.cpp | 113 fPath.addCircle(0, 0, SkIntToScalar(50), SkPath::kCW_Direction); in onOnceBeforeDraw() 114 fPath.addCircle(0, SkIntToScalar(-50), SkIntToScalar(30), SkPath::kCW_Direction); in onOnceBeforeDraw()
|