Home
last modified time | relevance | path

Searched refs:kCCW (Results 1 – 25 of 64) sorted by relevance

123

/external/skia/tests/
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()
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 …]
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()
DPathOpsSimplifyTest.cpp900 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 …]
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()
DPathOpsOpCircleThreadedTest.cpp31 state.fD ? SkPathDirection::kCW : SkPathDirection::kCCW); in testOpCirclesMain()
34 d ? SkPathDirection::kCW : SkPathDirection::kCCW); in testOpCirclesMain()
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 …]
DPathOpsInverseTest.cpp10 const SkPathDirection dirs[] = {SkPathDirection::kCW, SkPathDirection::kCCW}; in DEF_TEST()
/external/skia/docs/examples/
DChromeMDRefreshTab.cpp19 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()
DPath_ArcSize.cpp10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
DPath_arcTo_4.cpp10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
DChromeMDRefreshTabs.cpp36 SkPathDirection::kCCW, right - endcap_width, 0); in GetInteriorPath()
50 SkPathDirection::kCCW, endcap_radius, endcap_radius); in GetInteriorPath()
DPath_rArcTo.cpp12 path.rArcTo(20, 20, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCCW, 60, 0); in draw()
DPath_addRect_3.cpp13 for (auto direction : { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
DPath_addRect.cpp17 path.addRect({140, 20, 220, 100}, SkPathDirection::kCCW); in draw()
DRRect_setRectRadii.cpp21 path.addRRect(rrect, SkPathDirection::kCCW, 1); in draw()
DPath_addRect_2.cpp17 for (auto direction : { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
DPath_FillType_a.cpp11 path.addRect({20, 70, 40, 90}, SkPathDirection::kCCW); in draw()
/external/skia/gm/
Dstrokefill.cpp294 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);
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()
72 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 1, 100), SkPathDirection::kCCW)); in makePaths()
Dpathinterior.cpp79 … SkPathDirection outerDir = outerCW ? SkPathDirection::kCW : SkPathDirection::kCCW; in onDraw()
80 … SkPathDirection innerDir = innerCW ? SkPathDirection::kCW : SkPathDirection::kCCW; in onDraw()
/external/skia/samplecode/
DSampleClock.cpp163 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/
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()
DSkPathPriv.h41 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/
DSkPathTypes.h40 kCCW, enumerator

123