/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 | 25 SkPath::Direction aCW = state.fA >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain() 27 SkPath::Direction bCW = state.fB >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain() 29 SkPath::Direction cCW = state.fC >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain() 31 SkPath::Direction dCW = state.fD >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
|
D | PathOpsAsWindingTest.cpp | 14 bool reverse = SkPath::kCCW_Direction == dir; in build_squircle() 122 for (auto dirA : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in DEF_TEST() 123 for (auto dirB : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in DEF_TEST() 159 for (auto dirA : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in DEF_TEST() 160 for (auto dirB : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in DEF_TEST()
|
D | PathOpsInverseTest.cpp | 15 for (int oneDir = SkPath::kCW_Direction; oneDir != SkPath::kCCW_Direction; ++oneDir) { in DEF_TEST() 21 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 | 30 state.fD ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain() 33 d ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
|
D | DefaultPathRendererTest.cpp | 55 p.addRect(outer.makeInset(inset, inset), SkPath::kCCW_Direction); in make_path()
|
D | PathTest.cpp | 1133 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCCW_Direction); in test_direction() 1138 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCCW_Direction); in test_direction() 1584 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCCW_Direction); in test_convexity() 1907 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in test_conservativelyContains() 2164 for (auto d : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_isRect() 2235 SkPath::Direction d = SkPath::kCCW_Direction; in check_simple_closed_rect() 2247 SkPath::Direction d = SkPath::kCCW_Direction; in test_is_simple_closed_rect() 2254 for (auto dir : {SkPath::kCCW_Direction, SkPath::kCW_Direction}) { in test_is_simple_closed_rect() 2312 ? SkPath::kCCW_Direction in test_is_simple_closed_rect() 2448 path.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects() [all …]
|
D | GpuDrawPathTest.cpp | 69 oval2.addOval(rect, SkPath::kCCW_Direction); in test_drawSameRectOvals()
|
/external/skqp/samplecode/ |
D | SampleClock.cpp | 173 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 183 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 193 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent() 209 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
|
/external/skqp/gm/ |
D | strokefill.cpp | 278 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCCW_Direction); 283 …dCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 288 …dCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction); 304 path3.addRect(r, SkPath::kCCW_Direction); 311 path4.addRect(r, SkPath::kCCW_Direction); 320 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 | bigblurs.cpp | 45 rectori.addRect(insetRect, SkPath::kCCW_Direction); in onDraw()
|
D | nested.cpp | 102 SkPath::kCCW_Direction); in onDraw()
|
D | polygonoffset.cpp | 18 if (SkPath::kCCW_Direction == dir) { in create_ngon() 522 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPolygon()
|
D | blurs.cpp | 83 path.addRect(inner, SkPath::kCCW_Direction);
|
D | pathcontourstart.cpp | 103 drawOneColumn(canvas, SkPath::kCCW_Direction, makePath); in drawDirs()
|
D | patheffects.cpp | 139 path.addRect(r, SkPath::kCCW_Direction); in onDraw()
|
D | arcto.cpp | 68 SkPath::kCCW_Direction, oval.right(), oval.bottom() + 100);
|
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()
|
/external/skqp/src/core/ |
D | SkPathPriv.h | 208 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsOval() 236 *dir = isCCW ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsRRect()
|
/external/skqp/src/gpu/ |
D | GrShape.h | 552 *dir = SkPath::kCCW_Direction; in DefaultRectDirAndStartIndex() 556 *dir = SkPath::kCCW_Direction; in DefaultRectDirAndStartIndex()
|
/external/skqp/docs/ |
D | SkPath_Reference.bmh | 149 kCCW_Direction, 162 kCW_Direction travel clockwise; the same added with kCCW_Direction 168 #Const kCCW_Direction 1 187 for (auto direction : { SkPath::kCW_Direction, SkPath::kCCW_Direction } ) { 505 path.addRect({20, 70, 40, 90}, SkPath::kCCW_Direction); 2683 for (auto sweep: { SkPath::kCW_Direction, SkPath::kCCW_Direction } ) { 2688 if (SkPath::kCCW_Direction == sweep && SkPath::kLarge_ArcSize == arcSize) { 2716 for (auto sweep: { SkPath::kCW_Direction, SkPath::kCCW_Direction } ) { 2721 if (SkPath::kCCW_Direction == sweep && SkPath::kLarge_ArcSize == arcSize) { 2751 path.rArcTo(20, 20, 0, SkPath::kSmall_ArcSize, SkPath::kCCW_Direction, 60, 0); [all …]
|