Home
last modified time | relevance | path

Searched refs:kCCW (Results 1 - 25 of 62) sorted by relevance

123

/third_party/skia/tests/
H A DPathOpsSimplifyRectThreadedTest.cpp25 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()
H A DRRectInPathTest.cpp33 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...]
H A DPathOpsAsWindingTest.cpp14 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()
H A DPathOpsBuilderTest.cpp36 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()
H A DPathOpsOpCircleThreadedTest.cpp31 state.fD ? SkPathDirection::kCW : SkPathDirection::kCCW); in testOpCirclesMain() member in SkPathDirection
34 d ? SkPathDirection::kCW : SkPathDirection::kCCW); in testOpCirclesMain() member in SkPathDirection
44 state.fC, state.fD ? "SkPathDirection::kCW" : "SkPathDirection::kCCW"); in testOpCirclesMain()
49 c, d ? "SkPathDirection::kCW" : "SkPathDirection::kCCW"); in testOpCirclesMain()
H A DPathTest.cpp1118 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...]
/third_party/skia/docs/examples/
H A DChromeMDRefreshTab.cpp19 SkPathDirection::kCCW, scaled_endcap_radius - 1, in REG_FIDDLE()
62 SkPathDirection::kCCW, right, bottom - 1); in REG_FIDDLE()
103 SkPathDirection::kCCW, right - scaled_endcap_radius * 2, 0); in REG_FIDDLE()
117 SkPathDirection::kCCW, scaled_endcap_radius, scaled_endcap_radius); in REG_FIDDLE()
H A DPath_ArcSize.cpp10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in REG_FIDDLE()
15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in REG_FIDDLE()
H A DPath_arcTo_4.cpp10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in REG_FIDDLE()
15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in REG_FIDDLE()
H A DChromeMDRefreshTabs.cpp36 SkPathDirection::kCCW, right - endcap_width, 0); in REG_FIDDLE()
50 SkPathDirection::kCCW, endcap_radius, endcap_radius); in REG_FIDDLE()
H A DPath_rArcTo.cpp12 path.rArcTo(20, 20, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCCW, 60, 0); in REG_FIDDLE()
H A DPath_FillType_a.cpp11 path.addRect({20, 70, 40, 90}, SkPathDirection::kCCW); in REG_FIDDLE()
H A DPath_addRect.cpp17 path.addRect({140, 20, 220, 100}, SkPathDirection::kCCW); in REG_FIDDLE()
H A DRRect_setRectRadii.cpp21 path.addRRect(rrect, SkPathDirection::kCCW, 1); in REG_FIDDLE()
H A DPath_addRect_2.cpp17 for (auto direction : { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in REG_FIDDLE()
H A DPath_addRect_3.cpp13 for (auto direction : { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in REG_FIDDLE()
/third_party/skia/samplecode/
H A DSampleClock.cpp163 path.addOval(rect, SkPathDirection::kCCW);
173 path.addOval(rect, SkPathDirection::kCCW);
183 path.addOval(rect, SkPathDirection::kCCW);
199 path.addOval(rect, SkPathDirection::kCCW);
/third_party/skia/gm/
H A Dconvexpaths.cpp68 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() member in __anon18364::ConvexPathsGM::SkPathDirection
72 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 1, 100), SkPathDirection::kCCW)); in makePaths() member in __anon18364::ConvexPathsGM::SkPathDirection
H A Dstrokefill.cpp294 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPathDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
299 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPathDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
304 path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPathDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
306 SkASSERT(SkPathPriv::ComputeFirstDirection(path2) == SkPathFirstDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
320 path3.addRect(r, SkPathDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
327 path4.addRect(r, SkPathDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
336 path4.addRect(r, SkPathDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
337 SkASSERT(SkPathPriv::ComputeFirstDirection(path4) == SkPathFirstDirection::kCCW); in DEF_SIMPLE_GM_BG_NAME()
H A Dpathinterior.cpp79 SkPathDirection outerDir = outerCW ? SkPathDirection::kCW : SkPathDirection::kCCW;
80 SkPathDirection innerDir = innerCW ? SkPathDirection::kCW : SkPathDirection::kCCW;
H A Dnested.cpp110 SkPathDirection::kCCW);
159 square.addRect(SkRect::MakeLTRB(1.f, 10.f, 4.f, 13.f), SkPathDirection::kCCW); in DEF_SIMPLE_GM()
/third_party/skia/src/core/
H A DSkPathPriv.h42 SkPathFirstDirection::kCCW, SkPathFirstDirection::kCW, SkPathFirstDirection::kUnknown, in OppositeFirstDirection()
238 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsOval()
266 *dir = isCCW ? SkPathDirection::kCCW : SkPathDirection::kCW; in IsRRect()
H A DSkPath_serial.cpp77 int firstDir = isCCW ? (int)SkPathFirstDirection::kCCW : (int)SkPathFirstDirection::kCW; in writeToMemoryAsRRect()
180 case (int)SkPathFirstDirection::kCCW: in readAsRRect()
181 rrectDir = SkPathDirection::kCCW; in readAsRRect()
H A DSkPathBuilder.cpp195 dir = fIsACCW ? SkPathFirstDirection::kCCW : SkPathFirstDirection::kCW; in make()
200 dir = fIsACCW ? SkPathFirstDirection::kCCW : SkPathFirstDirection::kCW; in make()
408 return this->addOval(oval, sweepAngle > 0 ? SkPathDirection::kCW : SkPathDirection::kCCW, in addArc()
506 if ((arcSweep == SkPathDirection::kCCW) != SkToBool(arcLarge)) { // flipped from the original implementation in arcTo()
698 fIsACCW = (dir == SkPathDirection::kCCW); in addOval()
749 fIsACCW = (dir == SkPathDirection::kCCW); in addRRect()
/third_party/skia/include/core/
H A DSkPathTypes.h40 kCCW, member in SkPathDirection

Completed in 16 milliseconds

123