Home
last modified time | relevance | path

Searched refs:kCCW_Direction (Results 1 – 25 of 38) sorted by relevance

12

/external/skia/tests/
DRRectInPathTest.cpp33 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 …]
DPathOpsSimplifyRectThreadedTest.cpp23 SkPath::Direction aCW = state.fA >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
25 SkPath::Direction bCW = state.fB >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
27 SkPath::Direction cCW = state.fC >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
29 SkPath::Direction dCW = state.fD >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
DPathOpsInverseTest.cpp14 for (int oneDir = SkPath::kCW_Direction; oneDir != SkPath::kCCW_Direction; ++oneDir) { in DEF_TEST()
20 for (int twoDir = SkPath::kCW_Direction; twoDir != SkPath::kCCW_Direction; in DEF_TEST()
DPathOpsSimplifyTest.cpp900 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 …]
DPathOpsBuilderTest.cpp36 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()
DPathOpsOpCircleThreadedTest.cpp26 state.fD ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
29 d ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
DPathTest.cpp1162 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCCW_Direction); in test_direction()
1167 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCCW_Direction); in test_direction()
1565 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCCW_Direction); in test_convexity()
1836 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in test_conservativelyContains()
2156 SkPath::Direction d = SkPath::kCCW_Direction; in check_simple_closed_rect()
2167 SkPath::Direction d = SkPath::kCCW_Direction; in test_is_simple_closed_rect()
2174 for (auto dir : {SkPath::kCCW_Direction, SkPath::kCW_Direction}) { in test_is_simple_closed_rect()
2232 ? SkPath::kCCW_Direction in test_is_simple_closed_rect()
2368 path.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects()
2406 path1.addRect(-1, -1, 2, 2, SkPath::kCCW_Direction); in test_isNestedFillRects()
[all …]
DGpuDrawPathTest.cpp71 oval2.addOval(rect, SkPath::kCCW_Direction); in test_drawSameRectOvals()
/external/skia/samplecode/
DSampleClock.cpp174 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
184 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
194 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
210 path.addOval(rect, SkPath::kCCW_Direction); in onDrawContent()
/external/skia/gm/
Dstrokefill.cpp279 path.addCircle(x, y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCCW_Direction);
284 …dCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction);
289 …dCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction);
305 path3.addRect(r, SkPath::kCCW_Direction);
312 path4.addRect(r, SkPath::kCCW_Direction);
321 path4.addRect(r, SkPath::kCCW_Direction);
Dpathinterior.cpp77 … 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()
Dconvexpaths.cpp70 SkPath::kCCW_Direction); in makePaths()
84 SkPath::kCCW_Direction); in makePaths()
89 SkPath::kCCW_Direction); in makePaths()
Dconvex_all_line_paths.cpp282 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
424 if (SkPath::kCCW_Direction == dir) { in GetPath()
454 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
Dbigblurs.cpp46 rectori.addRect(insetRect, SkPath::kCCW_Direction); in onDraw()
Dnested.cpp103 SkPath::kCCW_Direction); in onDraw()
Dstrokes.cpp341 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()
Dblurs.cpp92 path.addRect(inner, SkPath::kCCW_Direction);
Dpathcontourstart.cpp103 drawOneColumn(canvas, SkPath::kCCW_Direction, makePath); in drawDirs()
Dpatheffects.cpp140 path.addRect(r, SkPath::kCCW_Direction); in onDraw()
Darcto.cpp68 SkPath::kCCW_Direction, oval.right(), oval.bottom() + 100);
/external/skia/include/core/
DSkPath.h31 kCCW_Direction, enumerator
188 *dir = isCCW ? kCCW_Direction : kCW_Direction;
210 *dir = isCCW ? kCCW_Direction : kCW_Direction;
/external/skia/src/gpu/
DGrShape.h418 *dir = SkPath::kCCW_Direction; in DefaultRectDirAndStartIndex()
422 *dir = SkPath::kCCW_Direction; in DefaultRectDirAndStartIndex()
/external/skia/experimental/SkV8Example/
DPath2DBuilder.cpp214 dir = SkPath::kCCW_Direction; in Oval()
/external/skia/src/core/
DSkPath.cpp555 *direction = firstDirection == ((lastDirection + 1) & 3) ? kCCW_Direction : kCW_Direction; in isRectContour()
970 SkASSERT(SkPath::kCW_Direction == dir || SkPath::kCCW_Direction == dir); in assert_known_direction()
1266 ed.setIsOval(isOval, kCCW_Direction == dir, startPointIndex % 4); in addOval()
1456 this->addOval(oval, sweepAngle > 0 ? kCW_Direction : kCCW_Direction, in addArc()
3341 *direction = vec03IsVertical ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in IsSimpleClosedRect()
3346 *direction = vec03IsVertical ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsSimpleClosedRect()
3351 *direction = vec03IsVertical ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in IsSimpleClosedRect()
3356 *direction = vec03IsVertical ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in IsSimpleClosedRect()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm84 path.addRect(50, 50, 90, 90, SkPath::kCCW_Direction);

12