/external/skia/tests/ |
D | RRectInPathTest.cpp | 33 SkPath::Direction xd = SkPath::kCCW_Direction; in path_contains_rrect() 89 path->fPathRef->setIsRRect(true, dir == SkPath::kCCW_Direction, start); in ForceIsRRect_Private() 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() 374 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_ovals() 388 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_general() [all …]
|
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 | PathOpsSimplifyTest.cpp | 900 path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); in testLine43() 909 path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); in testLine43x() 917 path.addRect(18, 32, 27, 36, SkPath::kCCW_Direction); in testLine44() 926 path.addRect(18, 32, 27, 36, SkPath::kCCW_Direction); in testLine44x() 968 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine47() 977 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine47x() 985 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine48() 994 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine48x() 1034 path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); in testLine51() 1043 path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); in testLine51x() [all …]
|
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 | PathOpsBuilderTest.cpp | 36 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 47 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); in DEF_TEST() 56 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST() 69 circle2.addCircle(7, 4, 8, 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 | PathTest.cpp | 1128 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCCW_Direction); in test_direction() 1133 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCCW_Direction); in test_direction() 1531 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCCW_Direction); in test_convexity() 1812 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in test_conservativelyContains() 2136 SkPath::Direction d = SkPath::kCCW_Direction; in check_simple_closed_rect() 2147 SkPath::Direction d = SkPath::kCCW_Direction; in test_is_simple_closed_rect() 2154 for (auto dir : {SkPath::kCCW_Direction, SkPath::kCW_Direction}) { in test_is_simple_closed_rect() 2212 ? SkPath::kCCW_Direction in test_is_simple_closed_rect() 2348 path.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects() 2386 path1.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects() [all …]
|
/external/skqp/tests/ |
D | RRectInPathTest.cpp | 33 SkPath::Direction xd = SkPath::kCCW_Direction; in path_contains_rrect() 89 path->fPathRef->setIsRRect(true, dir == SkPath::kCCW_Direction, start); in ForceIsRRect_Private() 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() 374 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_ovals() 388 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_general() [all …]
|
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 | PathOpsSimplifyTest.cpp | 900 path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); in testLine43() 909 path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); in testLine43x() 917 path.addRect(18, 32, 27, 36, SkPath::kCCW_Direction); in testLine44() 926 path.addRect(18, 32, 27, 36, SkPath::kCCW_Direction); in testLine44x() 968 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine47() 977 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine47x() 985 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine48() 994 path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); in testLine48x() 1034 path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); in testLine51() 1043 path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); in testLine51x() [all …]
|
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 | PathOpsBuilderTest.cpp | 36 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 47 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); in DEF_TEST() 56 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST() 69 circle2.addCircle(7, 4, 8, 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()
|
/external/skia/samplecode/ |
D | SampleClock.cpp | 174 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 184 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 194 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 210 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleClock.cpp | 174 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 184 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 194 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 210 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
|
/external/skia/gm/ |
D | strokefill.cpp | 279 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCCW_Direction); 284 …dCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 289 …dCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 305 path3.addRect(r, SkPath::kCCW_Direction); 312 path4.addRect(r, SkPath::kCCW_Direction); 321 path4.addRect(r, SkPath::kCCW_Direction);
|
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 | convexpaths.cpp | 70 SkPath::kCCW_Direction); in makePaths() 84 SkPath::kCCW_Direction); in makePaths() 89 SkPath::kCCW_Direction); in makePaths()
|
D | convex_all_line_paths.cpp | 282 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath() 424 if (SkPath::kCCW_Direction == dir) { in GetPath() 454 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
|
/external/skqp/gm/ |
D | strokefill.cpp | 279 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCCW_Direction); 284 …dCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 289 …dCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 305 path3.addRect(r, SkPath::kCCW_Direction); 312 path4.addRect(r, SkPath::kCCW_Direction); 321 path4.addRect(r, SkPath::kCCW_Direction);
|
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 | convexpaths.cpp | 70 SkPath::kCCW_Direction); in makePaths() 84 SkPath::kCCW_Direction); in makePaths() 89 SkPath::kCCW_Direction); in makePaths()
|
D | convex_all_line_paths.cpp | 282 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath() 424 if (SkPath::kCCW_Direction == dir) { in GetPath() 454 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
|
/external/skia/src/core/ |
D | SkPathPriv.h | 188 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsOval() 216 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsRRect()
|
/external/skqp/include/core/ |
D | SkPath.h | 55 kCCW_Direction, //!< Contour travels in a counterclockwise direction enumerator 305 *dir = isCCW ? kCCW_Direction : kCW_Direction; 333 *dir = isCCW ? kCCW_Direction : kCW_Direction;
|