/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 | 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 | 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 | 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 | 1162 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCCW_Direction); in test_direction() 1167 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCCW_Direction); in test_direction() 1565 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCCW_Direction); in test_convexity() 1836 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in test_conservativelyContains() 2156 SkPath::Direction d = SkPath::kCCW_Direction; in check_simple_closed_rect() 2167 SkPath::Direction d = SkPath::kCCW_Direction; in test_is_simple_closed_rect() 2174 for (auto dir : {SkPath::kCCW_Direction, SkPath::kCW_Direction}) { in test_is_simple_closed_rect() 2232 ? SkPath::kCCW_Direction in test_is_simple_closed_rect() 2368 path.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects() 2406 path1.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects() [all …]
|
D | GpuDrawPathTest.cpp | 71 oval2.addOval(rect, SkPath::kCCW_Direction); in test_drawSameRectOvals()
|
/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/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()
|
D | bigblurs.cpp | 46 rectori.addRect(insetRect, SkPath::kCCW_Direction); in onDraw()
|
D | nested.cpp | 103 SkPath::kCCW_Direction); in onDraw()
|
D | strokes.cpp | 341 path->addRect(inset(bounds), SkPath::kCCW_Direction); in make1() 353 path->addOval(inset(bounds), SkPath::kCCW_Direction); in make3() 369 path->addOval(r, SkPath::kCCW_Direction); in make5()
|
D | blurs.cpp | 92 path.addRect(inner, SkPath::kCCW_Direction);
|
D | pathcontourstart.cpp | 103 drawOneColumn(canvas, SkPath::kCCW_Direction, makePath); in drawDirs()
|
D | patheffects.cpp | 140 path.addRect(r, SkPath::kCCW_Direction); in onDraw()
|
D | arcto.cpp | 68 SkPath::kCCW_Direction, oval.right(), oval.bottom() + 100);
|
/external/skia/include/core/ |
D | SkPath.h | 31 kCCW_Direction, enumerator 188 *dir = isCCW ? kCCW_Direction : kCW_Direction; 210 *dir = isCCW ? kCCW_Direction : kCW_Direction;
|
/external/skia/src/gpu/ |
D | GrShape.h | 418 *dir = SkPath::kCCW_Direction; in DefaultRectDirAndStartIndex() 422 *dir = SkPath::kCCW_Direction; in DefaultRectDirAndStartIndex()
|
/external/skia/experimental/SkV8Example/ |
D | Path2DBuilder.cpp | 214 dir = SkPath::kCCW_Direction; in Oval()
|
/external/skia/src/core/ |
D | SkPath.cpp | 555 *direction = firstDirection == ((lastDirection + 1) & 3) ? kCCW_Direction : kCW_Direction; in isRectContour() 970 SkASSERT(SkPath::kCW_Direction == dir || SkPath::kCCW_Direction == dir); in assert_known_direction() 1266 ed.setIsOval(isOval, kCCW_Direction == dir, startPointIndex % 4); in addOval() 1456 this->addOval(oval, sweepAngle > 0 ? kCW_Direction : kCCW_Direction, in addArc() 3341 *direction = vec03IsVertical ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in IsSimpleClosedRect() 3346 *direction = vec03IsVertical ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsSimpleClosedRect() 3351 *direction = vec03IsVertical ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsSimpleClosedRect() 3356 *direction = vec03IsVertical ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in IsSimpleClosedRect()
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 84 path.addRect(50, 50, 90, 90, SkPath::kCCW_Direction);
|