Home
last modified time | relevance | path

Searched refs:SkPathFillType (Results 1 – 25 of 162) sorted by relevance

1234567

/external/skia/tests/
DPathOpsOpTest.cpp35 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 …]
DPathOpsSkpTest.cpp13 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 …]
DPathOpsAsWindingTest.cpp61 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 …]
DPathOpsOpRectThreadedTest.cpp26 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()
DPathOpsOpCubicThreadedTest.cpp19 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()
DPathOpsBattles.cpp45 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 …]
DPathOpsInverseTest.cpp11 const SkPathFillType fts[] = { in DEF_TEST()
12 SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in DEF_TEST()
13 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd in DEF_TEST()
DPathOpsOpCircleThreadedTest.cpp19 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()
DPathOpsBuildUseTest.cpp72 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 …]
/external/skia/include/core/
DSkPathTypes.h13 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()
/external/skia/fuzz/
DFuzzPathop.cpp28 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 …]
/external/skia/gm/
Dquadpaths.cpp39 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 …]
Dfilltypes.cpp46 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()
Dlinepaths.cpp23 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()
Dpathopsinverse.cpp72 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()
Dlargeclippedpath.cpp16 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()
Demptypath.cpp35 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()
Dcubicpaths.cpp128 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 …]
/external/skia/docs/examples/
Dpathops.cpp43 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()
DPath_FillType_a.cpp17 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in draw()
18 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd } ) { in draw()
DPath_FillType_b.cpp25 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd,
26 SkPathFillType::kInverseWinding, SkPathFillType::kInverseEvenOdd } ) {
DPath_getFillType.cpp9 path.getFillType() == SkPathFillType::kWinding ? "kWinding" : in draw()
10 path.getFillType() == SkPathFillType::kEvenOdd ? "kEvenOdd" : in draw()
11 path.getFillType() == SkPathFillType::kInverseWinding ? "kInverseWinding" : in draw()
DPath_ConvertToNonInverseFillType.cpp6 #define nameValue(fill) { SkPathFillType::fill, #fill }
10 SkPathFillType fill; in draw()
19 if (fills[i].fill != (SkPathFillType) i) { in draw()
/external/skia/samplecode/
DSampleFillType.cpp30 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()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.h29 inline bool IsDistanceFieldSupportedFillType(SkPathFillType fFillType) in IsDistanceFieldSupportedFillType()
31 return (SkPathFillType::kEvenOdd == fFillType || in IsDistanceFieldSupportedFillType()
32 SkPathFillType::kInverseEvenOdd == fFillType); in IsDistanceFieldSupportedFillType()

1234567