Home
last modified time | relevance | path

Searched refs:getFillType (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/modules/pathkit/tests/
Dpathops.spec.js97 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/
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()
/third_party/skia/modules/sksg/include/
DSkSGPath.h33 SkPathFillType getFillType() const { in SG_ATTRIBUTE()
34 return fPath.getFillType(); in SG_ATTRIBUTE()
38 if (fillType != fPath.getFillType()) { in setFillType()
/third_party/skia/tests/
DPathOpsAsWindingTest.cpp64 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()
DSubsetPath.cpp95 result.setFillType(fPath.getFillType()); in getSubsetPath()
176 result.setFillType(fPath.getFillType()); in getSubsetPath()
DPathOpsExtendedTest.cpp446 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()
DPathBuilderTest.cpp55 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()
DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
DPathOpsSimplifyFailTest.cpp66 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in failOne()
91 REPORTER_ASSERT(reporter, result.getFillType() != SkPathFillType::kWinding); in dontFailOne()
DGrStyledShapeTest.cpp148 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()
DTriangulatingPathRendererTests.cpp885 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/
DPath.cpp33 path.setFillType(path_node->getFillType()); in onSync()
/third_party/skia/modules/sksg/src/
DSkSGPath.cpp33 const auto ft = fPath.getFillType(); in onRevalidate()
/third_party/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp346 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/
DPathStencilCoverOp.h77 return fPathDrawList->fPath.getFillType(); in pathFillType()
DPathInnerTriangulateOp.cpp312 auto* stencil = (fPath.getFillType() == SkPathFillType::kWinding) in prePreparePrograms()
356 auto* stencil = (fPath.getFillType() == SkPathFillType::kWinding) in prePreparePrograms()
/third_party/skia/src/pathops/
DSkOpEdgeBuilder.cpp15 fXorMask[0] = fXorMask[1] = ((int)fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in init()
47 fXorMask[1] = ((int)fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in addOperand()
DSkOpBuilder.cpp39 SkPathFillType fillType = path->getFillType(); in FixWinding()
DSkPathOpsDebug.cpp2905 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/
DShape.h78 return fPath.getFillType(); // already incorporates invertedness in fillType()
/third_party/skia/modules/canvaskit/tests/
Dpath.spec.js502 expect(path.getFillType()).toEqual(CanvasKit.FillType.Winding);
548 expect(windingPath.getFillType()).toBe(CanvasKit.FillType.Winding);
/third_party/skia/include/core/
DSkPath.h203 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/
DSkPDFGraphicStackState.cpp98 SkPathFillType clipFill = clipPath.getFillType(); in append_clip_path()
/third_party/skia/src/gpu/geometry/
DGrTriangulator.cpp368 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/
DGrDistanceFieldGenFromVector.cpp755 if (!IsDistanceFieldSupportedFillType(workingPath.getFillType())) { in GrGenerateDistanceFieldFromPath()
819 switch (workingPath.getFillType()) { in GrGenerateDistanceFieldFromPath()

12