/third_party/skia/tests/ |
D | PathOpsOpTest.cpp | 35 path.setFillType(SkPathFillType::kWinding); in cubicOp1d() 39 pathB.setFillType(SkPathFillType::kWinding); in cubicOp1d() 48 path.setFillType(SkPathFillType::kWinding); in cubicOp2d() 52 pathB.setFillType(SkPathFillType::kWinding); in cubicOp2d() 61 path.setFillType(SkPathFillType::kWinding); in cubicOp3d() 65 pathB.setFillType(SkPathFillType::kWinding); in cubicOp3d() 74 path.setFillType(SkPathFillType::kWinding); in cubicOp5d() 78 pathB.setFillType(SkPathFillType::kWinding); in cubicOp5d() 87 path.setFillType(SkPathFillType::kWinding); in cubicOp6d() 91 pathB.setFillType(SkPathFillType::kWinding); in cubicOp6d() [all …]
|
D | PathOpsSkpTest.cpp | 13 path.setFillType(SkPathFillType::kEvenOdd); in skpcheeseandburger_com225() 21 pathB.setFillType(SkPathFillType::kWinding); in skpcheeseandburger_com225() 374 path.setFillType(SkPathFillType::kEvenOdd); in skpeverytechpro_blogspot_com100() 398 pathB.setFillType(SkPathFillType::kWinding); in skpeverytechpro_blogspot_com100() 408 path.setFillType(SkPathFillType::kEvenOdd); in skpflite_com41() 420 pathB.setFillType(SkPathFillType::kWinding); in skpflite_com41() 431 path.setFillType(SkPathFillType::kEvenOdd); in skpilkoora_com37() 453 pathB.setFillType(SkPathFillType::kWinding); in skpilkoora_com37() 463 path.setFillType(SkPathFillType::kEvenOdd); in skpmm4everfriends_com43() 475 pathB.setFillType(SkPathFillType::kWinding); in skpmm4everfriends_com43() [all …]
|
D | PathOpsAsWindingTest.cpp | 61 test.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 64 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in DEF_TEST() 69 test.setFillType(SkPathFillType::kWinding); in DEF_TEST() 74 test.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 80 test.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 83 test.setFillType(SkPathFillType::kWinding); in DEF_TEST() 87 test.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 90 test.setFillType(SkPathFillType::kWinding); in DEF_TEST() 96 test.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 99 test.setFillType(SkPathFillType::kWinding); in DEF_TEST() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 26 const SkPathFillType fts[] = { SkPathFillType::kWinding, SkPathFillType::kEvenOdd }; in testPathOpsRectsMain() 36 pathA.setFillType((SkPathFillType) e); in testPathOpsRectsMain() 42 pathB.setFillType((SkPathFillType) f); in testPathOpsRectsMain() 55 e == SkPathFillType::kWinding ? "Winding" : e == SkPathFillType::kEvenOdd in testPathOpsRectsMain() 62 f == SkPathFillType::kWinding ? "Winding" : f == SkPathFillType::kEvenOdd in testPathOpsRectsMain() 115 const SkPathFillType fts[] = { in testPathOpsFastMain() 116 SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in testPathOpsFastMain() 117 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd in testPathOpsFastMain()
|
D | PathOpsOpCubicThreadedTest.cpp | 19 const SkPathFillType fts[] = { SkPathFillType::kWinding, SkPathFillType::kEvenOdd }; in testOpCubicsMain() 29 pathA.setFillType((SkPathFillType) e); in testOpCubicsMain() 34 pathB.setFillType((SkPathFillType) f); in testOpCubicsMain() 45 e == SkPathFillType::kWinding ? "Winding" : e == SkPathFillType::kEvenOdd in testOpCubicsMain() 52 f == SkPathFillType::kWinding ? "Winding" : f == SkPathFillType::kEvenOdd in testOpCubicsMain()
|
D | PathOpsBattles.cpp | 45 path1.setFillType((SkPathFillType) 0); in issue414409b() 55 path2.setFillType((SkPathFillType) 1); in issue414409b() 67 path1.setFillType((SkPathFillType) 1); in issue414409c() 79 path2.setFillType((SkPathFillType) 0); in issue414409c() 93 path.setFillType((SkPathFillType) 0); in battleOp1() 103 path.setFillType((SkPathFillType) 0); in battleOp1() 118 path.setFillType((SkPathFillType) 1); in battleOp2() 125 path.setFillType((SkPathFillType) 0); in battleOp2() 140 path.setFillType((SkPathFillType) 0); in battleOp3() 150 path.setFillType((SkPathFillType) 0); in battleOp3() [all …]
|
D | PathOpsOpCircleThreadedTest.cpp | 19 const SkPathFillType fts[] = { SkPathFillType::kWinding, SkPathFillType::kEvenOdd }; in testOpCirclesMain() 41 e == SkPathFillType::kWinding ? "Winding" : e == SkPathFillType::kEvenOdd in testOpCirclesMain() 46 f == SkPathFillType::kWinding ? "Winding" : f == SkPathFillType::kEvenOdd in testOpCirclesMain()
|
D | PathOpsInverseTest.cpp | 11 const SkPathFillType fts[] = { in DEF_TEST() 12 SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in DEF_TEST() 13 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd in DEF_TEST()
|
D | PathOpsBuildUseTest.cpp | 72 path.setFillType((SkPathFillType) 0); in build1_1() 87 path.setFillType((SkPathFillType) 0); in build1_1() 102 path.setFillType((SkPathFillType) 0); in build1_1() 117 path.setFillType((SkPathFillType) 0); in build1_1() 132 path.setFillType((SkPathFillType) 0); in build1_1() 147 path.setFillType((SkPathFillType) 0); in build1_1() 162 path.setFillType((SkPathFillType) 0); in build1_1() 177 path.setFillType((SkPathFillType) 0); in build1_1() 192 path.setFillType((SkPathFillType) 0); in build1_1() 207 path.setFillType((SkPathFillType) 0); in build1_1() [all …]
|
/third_party/skia/include/core/ |
D | SkPathTypes.h | 13 enum class SkPathFillType { enum 24 static inline bool SkPathFillType_IsEvenOdd(SkPathFillType ft) { in SkPathFillType_IsEvenOdd() 28 static inline bool SkPathFillType_IsInverse(SkPathFillType ft) { in SkPathFillType_IsInverse() 32 static inline SkPathFillType SkPathFillType_ConvertToNonInverse(SkPathFillType ft) { in SkPathFillType_ConvertToNonInverse() 33 return static_cast<SkPathFillType>(static_cast<int>(ft) & 1); in SkPathFillType_ConvertToNonInverse()
|
/third_party/skia/fuzz/ |
D | FuzzPathop.cpp | 28 SkPathFillType ft; in DEF_FUZZ() 29 fuzz->nextRange(&ft, 0, (int)SkPathFillType::kInverseEvenOdd); in DEF_FUZZ() 44 SkPathFillType ft; in DEF_FUZZ() 45 fuzz->nextRange(&ft, 0, (int)SkPathFillType::kInverseEvenOdd); in DEF_FUZZ() 60 SkPathFillType ft; in DEF_FUZZ() 61 fuzz->nextRange(&ft, 0, SkPathFillType::kInverseEvenOdd); in DEF_FUZZ() 66 fuzz->nextRange(&ft, 0, SkPathFillType::kInverseEvenOdd); in DEF_FUZZ() 86 SkPathFillType ft; in DEF_FUZZ() 87 fuzz->nextRange(&ft, 0, SkPathFillType::kInverseEvenOdd); in DEF_FUZZ() 102 SkPathFillType ft; in DEF_FUZZ() [all …]
|
/third_party/skia/gm/ |
D | quadpaths.cpp | 39 SkPaint::Style style, SkPathFillType fill, in drawPath() 56 SkPathFillType fFill; in onDraw() 60 {SkPathFillType::kWinding, "Winding"}, in onDraw() 61 {SkPathFillType::kEvenOdd, "Even / Odd"}, in onDraw() 62 {SkPathFillType::kInverseWinding, "Inverse Winding"}, in onDraw() 63 {SkPathFillType::kInverseEvenOdd, "Inverse Even / Odd"}, in onDraw() 169 SkPaint::Style style, SkPathFillType fill, in drawPath() 186 SkPathFillType fFill; in onDraw() 190 {SkPathFillType::kWinding, "Winding"}, in onDraw() 191 {SkPathFillType::kEvenOdd, "Even / Odd"}, in onDraw() [all …]
|
D | filltypes.cpp | 46 void showPath(SkCanvas* canvas, int x, int y, SkPathFillType ft, in showPath() 63 showPath(canvas, 0, 0, SkPathFillType::kWinding, in showFour() 65 showPath(canvas, 200, 0, SkPathFillType::kEvenOdd, in showFour() 67 showPath(canvas, 00, 200, SkPathFillType::kInverseWinding, in showFour() 69 showPath(canvas, 200, 200, SkPathFillType::kInverseEvenOdd, in showFour()
|
D | linepaths.cpp | 23 SkPaint::Style style, SkPathFillType fill, in drawPath() 40 SkPathFillType fFill; in draw() 44 {SkPathFillType::kWinding, "Winding"}, in draw() 45 {SkPathFillType::kEvenOdd, "Even / Odd"}, in draw() 46 {SkPathFillType::kInverseWinding, "Inverse Winding"}, in draw() 47 {SkPathFillType::kInverseEvenOdd, "Inverse Even / Odd"}, in draw()
|
D | pathopsinverse.cpp | 72 SkPathFillType oneF = oneFill ? SkPathFillType::kInverseEvenOdd in onDraw() 73 : SkPathFillType::kEvenOdd; in onDraw() 75 SkPathFillType twoF = twoFill ? SkPathFillType::kInverseEvenOdd in onDraw() 76 : SkPathFillType::kEvenOdd; in onDraw()
|
D | largeclippedpath.cpp | 16 static void draw_clipped_flower(SkCanvas* canvas, SkPathFillType fillType) { in draw_clipped_flower() 19 clip.setFillType(SkPathFillType::kWinding); in draw_clipped_flower() 49 draw_clipped_flower(canvas, SkPathFillType::kWinding); in DEF_SIMPLE_GM() 53 draw_clipped_flower(canvas, SkPathFillType::kEvenOdd); in DEF_SIMPLE_GM()
|
D | cubicpaths.cpp | 128 SkPaint::Style style, SkPathFillType fill, in drawPath() 145 SkPathFillType fFill; in onDraw() 149 {SkPathFillType::kWinding, "Winding"}, in onDraw() 150 {SkPathFillType::kEvenOdd, "Even / Odd"}, in onDraw() 151 {SkPathFillType::kInverseWinding, "Inverse Winding"}, in onDraw() 152 {SkPathFillType::kInverseEvenOdd, "Inverse Even / Odd"}, in onDraw() 247 SkPaint::Style style, SkPathFillType fill, in drawPath() 264 SkPathFillType fFill; in onDraw() 268 {SkPathFillType::kWinding, "Winding"}, in onDraw() 269 {SkPathFillType::kEvenOdd, "Even / Odd"}, in onDraw() [all …]
|
D | emptypath.cpp | 35 SkPathFillType fill) { in drawEmpty() 49 SkPathFillType fFill; in onDraw() 53 {SkPathFillType::kWinding, "Winding"}, in onDraw() 54 {SkPathFillType::kEvenOdd, "Even / Odd"}, in onDraw() 55 {SkPathFillType::kInverseWinding, "Inverse Winding"}, in onDraw() 56 {SkPathFillType::kInverseEvenOdd, "Inverse Even / Odd"}, in onDraw()
|
/third_party/skia/docs/examples/ |
D | pathops.cpp | 43 SkPathFillType oneF = in draw() 44 oneFill ? SkPathFillType::kInverseEvenOdd : SkPathFillType::kEvenOdd; in draw() 46 SkPathFillType twoF = in draw() 47 twoFill ? SkPathFillType::kInverseEvenOdd : SkPathFillType::kEvenOdd; in draw()
|
D | Path_FillType_a.cpp | 17 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in draw() 18 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd } ) { in draw()
|
D | Path_FillType_b.cpp | 25 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd, 26 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd } ) {
|
D | Path_getFillType.cpp | 9 path.getFillType() == SkPathFillType::kWinding ? "kWinding" : in draw() 10 path.getFillType() == SkPathFillType::kEvenOdd ? "kEvenOdd" : in draw() 11 path.getFillType() == SkPathFillType::kInverseWinding ? "kInverseWinding" : in draw()
|
D | Path_ConvertToNonInverseFillType.cpp | 6 #define nameValue(fill) { SkPathFillType::fill, #fill } 10 SkPathFillType fill; in draw() 19 if (fills[i].fill != (SkPathFillType) i) { in draw()
|
/third_party/skia/samplecode/ |
D | SampleFillType.cpp | 30 void showPath(SkCanvas* canvas, int x, int y, SkPathFillType ft, in showPath() 48 showPath(canvas, 0, 0, SkPathFillType::kWinding, in showFour() 50 showPath(canvas, 200, 0, SkPathFillType::kEvenOdd, in showFour() 52 showPath(canvas, 00, 200, SkPathFillType::kInverseWinding, in showFour() 54 showPath(canvas, 200, 200, SkPathFillType::kInverseEvenOdd, in showFour()
|
/third_party/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.h | 29 inline bool IsDistanceFieldSupportedFillType(SkPathFillType fFillType) in IsDistanceFieldSupportedFillType() 31 return (SkPathFillType::kEvenOdd == fFillType || in IsDistanceFieldSupportedFillType() 32 SkPathFillType::kInverseEvenOdd == fFillType); in IsDistanceFieldSupportedFillType()
|