/third_party/skia/modules/pathkit/tests/ |
D | pathops.spec.js | 97 function getFillType(str) { function 126 path1.setFillType(getFillType(test.fillType1)); 130 path2.setFillType(getFillType(test.fillType2)); 143 … expect(combined.getFillType().value).toEqual(getFillType(test.fillTypeOut).value); 185 path.setFillType(getFillType(test.fillType)); 198 … expect(simplified.getFillType().value).toEqual(getFillType(test.fillTypeOut).value);
|
/third_party/skia/docs/examples/ |
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()
|
/third_party/skia/modules/sksg/include/ |
D | SkSGPath.h | 33 SkPathFillType getFillType() const { in SG_ATTRIBUTE() 34 return fPath.getFillType(); in SG_ATTRIBUTE() 38 if (fillType != fPath.getFillType()) { in setFillType()
|
/third_party/skia/tests/ |
D | PathOpsAsWindingTest.cpp | 64 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in DEF_TEST() 135 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in DEF_TEST() 151 REPORTER_ASSERT(reporter, original.getFillType() == SkPathFillType::kWinding); in DEF_TEST() 173 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in DEF_TEST()
|
D | SubsetPath.cpp | 95 result.setFillType(fPath.getFillType()); in getSubsetPath() 176 result.setFillType(fPath.getFillType()); in getSubsetPath()
|
D | PathOpsExtendedTest.cpp | 446 gFillTypeStrs[(int) path.getFillType()], lastField ? "\n}" : ",\n"); in json_path_out() 586 scaledA.setFillType(a.getFillType()); in innerPathOp() 588 scaledB.setFillType(b.getFillType()); in innerPathOp() 596 scaledOut.setFillType(out.getFillType()); in innerPathOp()
|
D | PathBuilderTest.cpp | 55 REPORTER_ASSERT(reporter, path.getFillType() == fillType); in DEF_TEST() 249 auto p1 = SkPath::Make(pts, N, vbs, N, nullptr, 0, p0.getFillType()); in DEF_TEST()
|
D | EmptyPathTest.cpp | 52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
|
D | PathOpsSimplifyFailTest.cpp | 66 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in failOne() 91 REPORTER_ASSERT(reporter, result.getFillType() != SkPathFillType::kWinding); in dontFailOne()
|
D | GrStyledShapeTest.cpp | 148 if (SkPathFillType_ConvertToNonInverse(pathA.getFillType()) != in check_equivalence() 149 SkPathFillType_ConvertToNonInverse(pathB.getFillType())) { in check_equivalence() 166 pA.setFillType(SkPathFillType_ConvertToNonInverse(pathA.getFillType())); in check_equivalence() 167 pB.setFillType(SkPathFillType_ConvertToNonInverse(pathB.getFillType())); in check_equivalence() 435 if (fPath.getFillType() == SkPathFillType::kEvenOdd) { in PathGeo() 438 SkASSERT(fPath.getFillType() == SkPathFillType::kWinding); in PathGeo() 584 p.setFillType(SkPathFillType_ConvertToNonInverse(path.getFillType())); in CheckBounds() 1337 a.setFillType(b.getFillType()); in test_make_hairline_path_effect()
|
D | TriangulatingPathRendererTests.cpp | 885 trianglePlusBreadcrumbEdges = simplify(trianglePlusBreadcrumbEdges, path.getFillType()); in verify_simple_inner_polygons() 919 innerFanEdges = simplify(innerFanEdges, path.getFillType()); in verify_simple_inner_polygons()
|
/third_party/skia/modules/skottie/src/ |
D | Path.cpp | 33 path.setFillType(path_node->getFillType()); in onSync()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGPath.cpp | 33 const auto ft = fPath.getFillType(); in onRevalidate()
|
/third_party/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 346 if (path.getFillType() == SkPathFillType::kWinding) { in GetFillTypeString() 348 } else if (path.getFillType() == SkPathFillType::kEvenOdd) { in GetFillTypeString() 494 .function("getFillType", &SkPath::getFillType) in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/src/gpu/ops/ |
D | PathStencilCoverOp.h | 77 return fPathDrawList->fPath.getFillType(); in pathFillType()
|
D | PathInnerTriangulateOp.cpp | 312 auto* stencil = (fPath.getFillType() == SkPathFillType::kWinding) in prePreparePrograms() 356 auto* stencil = (fPath.getFillType() == SkPathFillType::kWinding) in prePreparePrograms()
|
/third_party/skia/src/pathops/ |
D | SkOpEdgeBuilder.cpp | 15 fXorMask[0] = fXorMask[1] = ((int)fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in init() 47 fXorMask[1] = ((int)fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in addOperand()
|
D | SkOpBuilder.cpp | 39 SkPathFillType fillType = path->getFillType(); in FixWinding()
|
D | SkPathOpsDebug.cpp | 2905 SkPathFillType fillType = path.getFillType(); in ShowOnePath() 2940 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", one.getFillType()); in DumpOp() 2944 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", two.getFillType()); in DumpOp() 2963 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", path.getFillType()); in DumpSimplify() 3059 scaledA.setFillType(one.getFillType()); in VerifyOp() 3061 scaledB.setFillType(two.getFillType()); in VerifyOp() 3069 scaledOut.setFillType(result.getFillType()); in VerifyOp() 3096 scaledA.setFillType(path.getFillType()); in VerifySimplify() 3102 scaledOut.setFillType(result.getFillType()); in VerifySimplify()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Shape.h | 78 return fPath.getFillType(); // already incorporates invertedness in fillType()
|
/third_party/skia/modules/canvaskit/tests/ |
D | path.spec.js | 502 expect(path.getFillType()).toEqual(CanvasKit.FillType.Winding); 548 expect(windingPath.getFillType()).toBe(CanvasKit.FillType.Winding);
|
/third_party/skia/include/core/ |
D | SkPath.h | 203 SkPathFillType getFillType() const { return (SkPathFillType)fFillType; } in getFillType() function 217 bool isInverseFillType() const { return SkPathFillType_IsInverse(this->getFillType()); } in isInverseFillType()
|
/third_party/skia/src/pdf/ |
D | SkPDFGraphicStackState.cpp | 98 SkPathFillType clipFill = clipPath.getFillType(); in append_clip_path()
|
/third_party/skia/src/gpu/geometry/ |
D | GrTriangulator.cpp | 368 fPath.getFillType() == SkPathFillType::kWinding) { in emitTriangle() 612 return apply_fill_type(fPath.getFillType(), winding); in applyFillType() 1576 if (SkPathFillType_IsInverse(fPath.getFillType())) { in pathToPolys() 1598 int64_t count64 = CountPoints(polys, fPath.getFillType()); in polysToTriangles() 1615 void* end = this->polysToTriangles(polys, verts, fPath.getFillType()); in polysToTriangles()
|
/third_party/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 755 if (!IsDistanceFieldSupportedFillType(workingPath.getFillType())) { in GrGenerateDistanceFieldFromPath() 819 switch (workingPath.getFillType()) { in GrGenerateDistanceFieldFromPath()
|