/external/skqp/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 | 37 SkIntToScalar(state.fB), SkPath::kCW_Direction); in testPathOpsRectsMain() 39 SkIntToScalar(state.fD), SkPath::kCW_Direction); in testPathOpsRectsMain() 43 SkIntToScalar(b), SkPath::kCW_Direction); in testPathOpsRectsMain() 45 SkIntToScalar(d), SkPath::kCW_Direction); in testPathOpsRectsMain() 127 SkIntToScalar(state.fB), SkPath::kCW_Direction); in testPathOpsFastMain() 133 SkIntToScalar(state.fD), SkPath::kCW_Direction); in testPathOpsFastMain()
|
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 | 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 | 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() 143 test.addPoly(SkPath::kCW_Direction == dirA ? revBccw : revBcw, true); 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 | PathOpsOpCircleThreadedTest.cpp | 30 state.fD ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain() 33 d ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
|
D | PathTest.cpp | 1132 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCW_Direction); in test_direction() 1137 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCW_Direction); in test_direction() 1589 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCW_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() 2254 for (auto dir : {SkPath::kCCW_Direction, SkPath::kCW_Direction}) { in test_is_simple_closed_rect() 2311 SkPath::Direction swapDir = (dir == SkPath::kCW_Direction) in test_is_simple_closed_rect() 2313 : SkPath::kCW_Direction; in test_is_simple_closed_rect() 2438 path.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects() 2477 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects() [all …]
|
/external/skqp/include/core/ |
D | SkPath.h | 67 kCW_Direction, //!< contour travels clockwise enumerator 1071 SkPath& addRect(const SkRect& rect, Direction dir = kCW_Direction); 1099 Direction dir = kCW_Direction); 1110 SkPath& addOval(const SkRect& oval, Direction dir = kCW_Direction); 1137 Direction dir = kCW_Direction); 1174 Direction dir = kCW_Direction); 1186 Direction dir = kCW_Direction); 1199 SkPath& addRRect(const SkRRect& rrect, Direction dir = kCW_Direction);
|
/external/skqp/gm/ |
D | blurs.cpp | 82 path.addRect(outer, SkPath::kCW_Direction); 100 path.addRect(outer, SkPath::kCW_Direction); 101 path.addRect(inner, SkPath::kCW_Direction);
|
D | polygonoffset.cpp | 435 if (SkPath::kCW_Direction == dir) { in GetConvexPolygon() 470 if (SkPath::kCW_Direction == dir) { in GetSimplePolygon() 506 GetConvexPolygon(index, SkPath::kCW_Direction, &data, &numPts); in drawPolygon() 508 GetSimplePolygon(index, SkPath::kCW_Direction, &data, &numPts); in drawPolygon() 522 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPolygon()
|
D | strokefill.cpp | 277 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCW_Direction); 284 …ddCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Direction); 294 …ddCircle(x + SkIntToScalar(360), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCW_Direction); 302 path3.addRect(r, SkPath::kCW_Direction); 313 path4.addRect(r, SkPath::kCW_Direction); 329 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 | 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 | 234 if (SkPath::kCW_Direction == dir) { in GetPath() 269 SkPath path = GetPath(index, SkPath::kCW_Direction); in drawPath() 286 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
|
/external/skqp/bench/ |
D | BlurRectsBench.cpp | 37 path.addRect(fOuter, SkPath::kCW_Direction); in onDraw() 38 path.addRect(fInner, SkPath::kCW_Direction); in onDraw()
|
/external/skqp/modules/sksg/include/ |
D | SkSGRect.h | 62 AttrContainer fAttrContaier = { SkPath::kCW_Direction, 0 }; 104 AttrContainer fAttrContaier = { SkPath::kCW_Direction, 0 };
|
/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()
|
D | SkStroke.h | 65 SkPath::Direction = SkPath::kCW_Direction) const;
|
/external/skqp/samplecode/ |
D | SampleStrokePath.cpp | 115 fPath.addCircle(0, 0, SkIntToScalar(50), SkPath::kCW_Direction); in onOnceBeforeDraw() 116 fPath.addCircle(0, SkIntToScalar(-50), SkIntToScalar(30), SkPath::kCW_Direction); in onOnceBeforeDraw()
|
/external/skqp/docs/ |
D | SkPath_Reference.bmh | 148 kCW_Direction, 162 kCW_Direction travel clockwise; the same added with kCCW_Direction 165 #Const kCW_Direction 0 187 for (auto direction : { SkPath::kCW_Direction, SkPath::kCCW_Direction } ) { 194 canvas->drawString(SkPath::kCW_Direction == direction ? "CW" : "CCW", rect.centerX(), 502 path.addRect({10, 10, 30, 30}, SkPath::kCW_Direction); 503 path.addRect({20, 20, 40, 40}, SkPath::kCW_Direction); 504 path.addRect({10, 60, 30, 80}, SkPath::kCW_Direction); 540 path.addRect({20, 10, 80, 70}, SkPath::kCW_Direction); 541 path.addRect({40, 30, 100, 90}, SkPath::kCW_Direction); [all …]
|