Home
last modified time | relevance | path

Searched refs:kCW_Direction (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/tests/
DPathOpsSimplifyTest.cpp444 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 …]
DPathOpsBuilderTest.cpp29 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()
DPathOpsOpRectThreadedTest.cpp60 SkIntToScalar(state.fB), SkPath::kCW_Direction); in testPathOpsRectsMain()
62 SkIntToScalar(state.fD), SkPath::kCW_Direction); in testPathOpsRectsMain()
66 SkIntToScalar(b), SkPath::kCW_Direction); in testPathOpsRectsMain()
68 SkIntToScalar(d), SkPath::kCW_Direction); in testPathOpsRectsMain()
DPathOpsSimplifyRectThreadedTest.cpp27 SkPath::Direction aCW = state.fA >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
29 SkPath::Direction bCW = state.fB >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
31 SkPath::Direction cCW = state.fC >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
33 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()
DPathOpsOpTest.cpp380 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect1()
381 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testIntersect1()
387 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testUnion1()
388 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testUnion1()
394 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testDiff1()
395 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testDiff1()
401 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testXor1()
402 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testXor1()
408 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect2()
409 two.addRect(0, 3, 9, 9, SkPath::kCW_Direction); in testIntersect2()
[all …]
DPathOpsOpCircleThreadedTest.cpp48 state.fD ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
51 d ? SkPath::kCW_Direction : SkPath::kCCW_Direction); in testOpCirclesMain()
DPathTest.cpp1003 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCW_Direction); in test_direction()
1008 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCW_Direction); in test_direction()
1412 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCW_Direction); in test_convexity()
1674 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in test_conservativelyContains()
2051 path.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects()
2090 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects()
2106 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects()
2124 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects()
2139 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects()
2157 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction); in test_isNestedFillRects()
[all …]
DGpuDrawPathTest.cpp70 oval1.addOval(rect, SkPath::kCW_Direction); in test_drawSameRectOvals()
/external/skia/gm/
Dstrokes.cpp339 path->addRect(bounds, SkPath::kCW_Direction); in make0()
340 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0()
345 path->addRect(bounds, SkPath::kCW_Direction); in make1()
351 path->addOval(bounds, SkPath::kCW_Direction); in make2()
352 path->addOval(inset(bounds), SkPath::kCW_Direction); in make2()
357 path->addOval(bounds, SkPath::kCW_Direction); in make3()
363 path->addRect(bounds, SkPath::kCW_Direction); in make4()
366 path->addOval(r, SkPath::kCW_Direction); in make4()
371 path->addRect(bounds, SkPath::kCW_Direction); in make5()
Dblurs.cpp91 path.addRect(outer, SkPath::kCW_Direction);
110 path.addRect(outer, SkPath::kCW_Direction);
111 path.addRect(inner, SkPath::kCW_Direction);
Dstrokefill.cpp277 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);
Darcto.cpp62 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);
Dconvexpaths.cpp67 SkPath::kCW_Direction); in makePaths()
74 50 * SK_Scalar1, SkPath::kCW_Direction); in makePaths()
80 SkPath::kCW_Direction); in makePaths()
96 SkPath::kCW_Direction); in makePaths()
Dcircularclips.cpp23 fCircle1.addCircle(fX1, fY, fR, SkPath::kCW_Direction); in onOnceBeforeDraw()
24 fCircle2.addCircle(fX2, fY, fR, SkPath::kCW_Direction); in onOnceBeforeDraw()
Dconvex_all_line_paths.cpp222 if (SkPath::kCW_Direction == dir) { in GetPath()
257 SkPath path = GetPath(index, 0, SkPath::kCW_Direction); in drawPath()
267 const SkPath::Direction dirs[2] = { SkPath::kCW_Direction, SkPath::kCCW_Direction }; in drawPath()
Dpathinterior.cpp76 … SkPath::Direction outerDir = outerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in onDraw()
77 … SkPath::Direction innerDir = innerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction; in onDraw()
Dnested.cpp100 AddShape(&path, outerRect, (Shapes) outerShape, SkPath::kCW_Direction); in onDraw()
Dinversepaths.cpp28 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); in generate_circle()
Dpathcontourstart.cpp104 drawOneColumn(canvas, SkPath::kCW_Direction, makePath); in drawDirs()
/external/skia/include/core/
DSkPath.h531 kCW_Direction, enumerator
655 void addRect(const SkRect& rect, Direction dir = kCW_Direction);
688 Direction dir = kCW_Direction);
698 void addOval(const SkRect& oval, Direction dir = kCW_Direction);
731 Direction dir = kCW_Direction);
749 Direction dir = kCW_Direction);
763 Direction dir = kCW_Direction);
774 void addRRect(const SkRRect& rrect, Direction dir = kCW_Direction);
/external/skia/bench/
DBlurRectsBench.cpp37 path.addRect(fOuter, SkPath::kCW_Direction); in onDraw()
38 path.addRect(fInner, SkPath::kCW_Direction); in onDraw()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm82 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction);
83 path.addRect(20, 20, 50, 50, SkPath::kCW_Direction);
89 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction);
90 path.addRect(20, 20, 80, 80, SkPath::kCW_Direction);
/external/skia/src/core/
DSkStroke.h64 SkPath::Direction = SkPath::kCW_Direction) const;
/external/skia/samplecode/
DSampleStrokePath.cpp114 fPath.addCircle(0, 0, SkIntToScalar(50), SkPath::kCW_Direction); in onOnceBeforeDraw()
115 fPath.addCircle(0, SkIntToScalar(-50), SkIntToScalar(30), SkPath::kCW_Direction); in onOnceBeforeDraw()

12