/external/skia/tests/ |
D | PathOpsSimplifyRectThreadedTest.cpp | 25 SkPathDirection aCW = state.fA >> 2 ? SkPathDirection::kCCW : SkPathDirection::kCW; in testSimplify4x4RectsMain() 27 SkPathDirection bCW = state.fB >> 2 ? SkPathDirection::kCCW : SkPathDirection::kCW; in testSimplify4x4RectsMain() 29 SkPathDirection cCW = state.fC >> 2 ? SkPathDirection::kCCW : SkPathDirection::kCW; in testSimplify4x4RectsMain() 31 SkPathDirection dCW = state.fD >> 2 ? SkPathDirection::kCCW : SkPathDirection::kCW; in testSimplify4x4RectsMain() 70 aCW == SkPathDirection::kCCW ? "C" : ""); in testSimplify4x4RectsMain() 102 bCW == SkPathDirection::kCCW ? "C" : ""); in testSimplify4x4RectsMain() 134 cCW == SkPathDirection::kCCW ? "C" : ""); in testSimplify4x4RectsMain() 166 dCW == SkPathDirection::kCCW ? "C" : ""); in testSimplify4x4RectsMain()
|
D | RRectInPathTest.cpp | 33 SkPathDirection xd = SkPathDirection::kCCW; in path_contains_rrect() 89 path->fPathRef->setIsRRect(true, dir == SkPathDirection::kCCW, start); in ForceIsRRect_Private() 169 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_tricky_radii() 196 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_empty_crbug_458524() 214 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_inset() 243 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_9patch_rrect() 267 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_round_rect_basic() 341 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_round_rect_rects() 370 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_round_rect_ovals() 384 for (auto dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in test_round_rect_general() [all …]
|
D | PathOpsAsWindingTest.cpp | 14 bool reverse = SkPathDirection::kCCW == dir; in build_squircle() 122 for (auto dirA : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in DEF_TEST() 123 for (auto dirB : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in DEF_TEST() 159 for (auto dirA : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in DEF_TEST() 160 for (auto dirB : {SkPathDirection::kCW, SkPathDirection::kCCW}) { in DEF_TEST()
|
D | PathOpsSimplifyTest.cpp | 900 path.addRect(0, 32, 9, 36, SkPathDirection::kCCW); in testLine43() 909 path.addRect(0, 32, 9, 36, SkPathDirection::kCCW); in testLine43x() 917 path.addRect(18, 32, 27, 36, SkPathDirection::kCCW); in testLine44() 926 path.addRect(18, 32, 27, 36, SkPathDirection::kCCW); in testLine44x() 968 path.addRect(0, 0, 9, 9, SkPathDirection::kCCW); in testLine47() 977 path.addRect(0, 0, 9, 9, SkPathDirection::kCCW); in testLine47x() 985 path.addRect(0, 0, 9, 9, SkPathDirection::kCCW); in testLine48() 994 path.addRect(0, 0, 9, 9, SkPathDirection::kCCW); in testLine48x() 1034 path.addRect(4, 12, 13, 13, SkPathDirection::kCCW); in testLine51() 1043 path.addRect(4, 12, 13, 13, SkPathDirection::kCCW); in testLine51x() [all …]
|
D | PathOpsBuilderTest.cpp | 36 REPORTER_ASSERT(reporter, dir == SkPathDirection::kCCW); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPathDirection::kCCW); in DEF_TEST() 47 REPORTER_ASSERT(reporter, dir == SkPathDirection::kCCW); in DEF_TEST() 56 rect3.addRect(4, 1, 5, 3, SkPathDirection::kCCW); in DEF_TEST() 69 circle2.addCircle(7, 4, 8, SkPathDirection::kCCW); in DEF_TEST()
|
D | PathOpsOpCircleThreadedTest.cpp | 31 state.fD ? SkPathDirection::kCW : SkPathDirection::kCCW); in testOpCirclesMain() 34 d ? SkPathDirection::kCW : SkPathDirection::kCCW); in testOpCirclesMain()
|
D | PathTest.cpp | 1118 check_direction(reporter, path, SkPathFirstDirection::kCCW); in test_direction() 1125 path.addCircle(0, 0, SkIntToScalar(1), SkPathDirection::kCCW); in test_direction() 1130 path.addCircle(0, 0, SkIntToScalar(2), SkPathDirection::kCCW); in test_direction() 1131 check_direction(reporter, path, SkPathFirstDirection::kCCW); in test_direction() 1139 check_direction(reporter, path, SkPathFirstDirection::kCCW); in test_direction() 1151 check_direction(reporter, path, SkPathFirstDirection::kCCW); in test_direction() 1374 check_direction(reporter, triRight, SkPathFirstDirection::kCCW); in test_convexity2() 1566 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPathDirection::kCCW); in test_convexity() 1568 … REPORTER_ASSERT(reporter, SkPathPriv::ComputeFirstDirection(path) == SkPathFirstDirection::kCCW); in test_convexity() 1589 { "0 0 10 10 10 0", true, SkPathFirstDirection::kCCW }, in test_convexity() [all …]
|
D | PathOpsInverseTest.cpp | 10 const SkPathDirection dirs[] = {SkPathDirection::kCW, SkPathDirection::kCCW}; in DEF_TEST()
|
/external/skia/docs/examples/ |
D | ChromeMDRefreshTab.cpp | 19 SkPathDirection::kCCW, scaled_endcap_radius - 1, in GetBorderPath() 62 SkPathDirection::kCCW, right, bottom - 1); in GetBorderPath() 103 SkPathDirection::kCCW, right - scaled_endcap_radius * 2, 0); in GetInteriorPath() 117 SkPathDirection::kCCW, scaled_endcap_radius, scaled_endcap_radius); in GetInteriorPath()
|
D | Path_ArcSize.cpp | 10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw() 15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
|
D | Path_arcTo_4.cpp | 10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw() 15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
|
D | ChromeMDRefreshTabs.cpp | 36 SkPathDirection::kCCW, right - endcap_width, 0); in GetInteriorPath() 50 SkPathDirection::kCCW, endcap_radius, endcap_radius); in GetInteriorPath()
|
D | Path_rArcTo.cpp | 12 path.rArcTo(20, 20, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCCW, 60, 0); in draw()
|
D | Path_addRect_3.cpp | 13 for (auto direction : { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
|
D | Path_addRect.cpp | 17 path.addRect({140, 20, 220, 100}, SkPathDirection::kCCW); in draw()
|
D | RRect_setRectRadii.cpp | 21 path.addRRect(rrect, SkPathDirection::kCCW, 1); in draw()
|
D | Path_addRect_2.cpp | 17 for (auto direction : { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
|
D | Path_FillType_a.cpp | 11 path.addRect({20, 70, 40, 90}, SkPathDirection::kCCW); in draw()
|
/external/skia/gm/ |
D | strokefill.cpp | 294 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPathDirection::kCCW); 299 …ddCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPathDirection::kCCW); 304 …ddCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPathDirection::kCCW); 306 SkASSERT(SkPathPriv::ComputeFirstDirection(path2) == SkPathFirstDirection::kCCW); 320 path3.addRect(r, SkPathDirection::kCCW); 327 path4.addRect(r, SkPathDirection::kCCW); 336 path4.addRect(r, SkPathDirection::kCCW); 337 SkASSERT(SkPathPriv::ComputeFirstDirection(path4) == SkPathFirstDirection::kCCW);
|
D | convexpaths.cpp | 68 fPaths.push_back(SkPath::Rect({0, 0, 100, 100}, SkPathDirection::kCCW)); in makePaths() 71 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 100, 5), SkPathDirection::kCCW)); in makePaths() 72 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 1, 100), SkPathDirection::kCCW)); in makePaths()
|
D | pathinterior.cpp | 79 … SkPathDirection outerDir = outerCW ? SkPathDirection::kCW : SkPathDirection::kCCW; in onDraw() 80 … SkPathDirection innerDir = innerCW ? SkPathDirection::kCW : SkPathDirection::kCCW; in onDraw()
|
/external/skia/samplecode/ |
D | SampleClock.cpp | 163 path.addOval(rect, SkPathDirection::kCCW); in onDrawContent() 173 path.addOval(rect, SkPathDirection::kCCW); in onDrawContent() 183 path.addOval(rect, SkPathDirection::kCCW); in onDrawContent() 199 path.addOval(rect, SkPathDirection::kCCW); in onDrawContent()
|
/external/skia/src/core/ |
D | SkPath_serial.cpp | 77 int firstDir = isCCW ? (int)SkPathFirstDirection::kCCW : (int)SkPathFirstDirection::kCW; in writeToMemoryAsRRect() 180 case (int)SkPathFirstDirection::kCCW: in readAsRRect() 181 rrectDir = SkPathDirection::kCCW; in readAsRRect()
|
D | SkPathPriv.h | 41 SkPathFirstDirection::kCCW, SkPathFirstDirection::kCW, SkPathFirstDirection::kUnknown, in OppositeFirstDirection() 237 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsOval() 265 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsRRect()
|
/external/skia/include/core/ |
D | SkPathTypes.h | 40 kCCW, enumerator
|