Home
last modified time | relevance | path

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

1234

/external/skia/modules/pathkit/tests/
Dpathops.spec.js108 function getFillType(str) { function
136 path1.setFillType(getFillType(test.fillType1));
140 path2.setFillType(getFillType(test.fillType2));
153 … expect(combined.getFillType().value).toEqual(getFillType(test.fillTypeOut).value);
194 path.setFillType(getFillType(test.fillType));
207 … expect(simplified.getFillType().value).toEqual(getFillType(test.fillTypeOut).value);
/external/skqp/modules/pathkit/tests/
Dpathops.spec.js108 function getFillType(str) { function
136 path1.setFillType(getFillType(test.fillType1));
140 path2.setFillType(getFillType(test.fillType2));
153 … expect(combined.getFillType().value).toEqual(getFillType(test.fillTypeOut).value);
194 path.setFillType(getFillType(test.fillType));
207 … expect(simplified.getFillType().value).toEqual(getFillType(test.fillTypeOut).value);
/external/skia/tests/
DPathOpsAsWindingTest.cpp64 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
135 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
151 REPORTER_ASSERT(reporter, original.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
173 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
DSubsetPath.cpp97 result.setFillType(fPath.getFillType()); in getSubsetPath()
184 result.setFillType(fPath.getFillType()); in getSubsetPath()
DPathOpsExtendedTest.cpp547 gFillTypeStrs[(int) path.getFillType()], lastField ? "\n}" : ",\n"); in json_path_out()
702 scaledA.setFillType(a.getFillType()); in innerPathOp()
704 scaledB.setFillType(b.getFillType()); in innerPathOp()
712 scaledOut.setFillType(out.getFillType()); in innerPathOp()
DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
/external/skqp/tests/
DPathOpsAsWindingTest.cpp64 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
135 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
151 REPORTER_ASSERT(reporter, original.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
173 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in DEF_TEST()
DSubsetPath.cpp97 result.setFillType(fPath.getFillType()); in getSubsetPath()
184 result.setFillType(fPath.getFillType()); in getSubsetPath()
DPathOpsExtendedTest.cpp547 gFillTypeStrs[(int) path.getFillType()], lastField ? "\n}" : ",\n"); in json_path_out()
702 scaledA.setFillType(a.getFillType()); in innerPathOp()
704 scaledB.setFillType(b.getFillType()); in innerPathOp()
712 scaledOut.setFillType(out.getFillType()); in innerPathOp()
DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
/external/skqp/modules/sksg/src/
DSkSGPath.cpp29 const auto ft = fPath.getFillType(); in onRevalidate()
/external/skia/modules/sksg/src/
DSkSGPath.cpp33 const auto ft = fPath.getFillType(); in onRevalidate()
/external/skqp/src/gpu/
DGrPath.h39 GrPathRendering::FillType getFillType() const { return fFillType; } in getFillType() function
DGrDistanceFieldGenFromVector.cpp766 if (!IsDistanceFieldSupportedFillType(workingPath.getFillType())) { in GrGenerateDistanceFieldFromPath()
841 if (workingPath.getFillType() == SkPath::kWinding_FillType) { in GrGenerateDistanceFieldFromPath()
843 } else if (workingPath.getFillType() == SkPath::kInverseWinding_FillType) { in GrGenerateDistanceFieldFromPath()
845 } else if (workingPath.getFillType() == SkPath::kEvenOdd_FillType) { in GrGenerateDistanceFieldFromPath()
848 SkASSERT(workingPath.getFillType() == SkPath::kInverseEvenOdd_FillType); in GrGenerateDistanceFieldFromPath()
/external/skia/src/gpu/
DGrPath.h39 GrPathRendering::FillType getFillType() const { return fFillType; } in getFillType() function
DGrDistanceFieldGenFromVector.cpp766 if (!IsDistanceFieldSupportedFillType(workingPath.getFillType())) { in GrGenerateDistanceFieldFromPath()
841 if (workingPath.getFillType() == SkPath::kWinding_FillType) { in GrGenerateDistanceFieldFromPath()
843 } else if (workingPath.getFillType() == SkPath::kInverseWinding_FillType) { in GrGenerateDistanceFieldFromPath()
845 } else if (workingPath.getFillType() == SkPath::kEvenOdd_FillType) { in GrGenerateDistanceFieldFromPath()
848 SkASSERT(workingPath.getFillType() == SkPath::kInverseEvenOdd_FillType); in GrGenerateDistanceFieldFromPath()
/external/skqp/src/gpu/ccpr/
DGrCCDrawPathsOp.cpp327 SkPath::kEvenOdd_FillType == path.getFillType()); in setupResources()
328 SkASSERT(SkPath::kEvenOdd_FillType == path.getFillType() || in setupResources()
329 SkPath::kWinding_FillType == path.getFillType()); in setupResources()
/external/skia/src/gpu/ccpr/
DGrCCDrawPathsOp.cpp330 SkPath::kEvenOdd_FillType == path.getFillType()); in setupResources()
331 SkASSERT(SkPath::kEvenOdd_FillType == path.getFillType() || in setupResources()
332 SkPath::kWinding_FillType == path.getFillType()); in setupResources()
/external/skia/src/gpu/ops/
DGrDrawPathOp.h89 : GrDrawPathOpBase(ClassID(), viewMatrix, std::move(paint), path->getFillType(), aaType) in GrDrawPathOp()
/external/skqp/src/gpu/ops/
DGrDrawPathOp.h92 : GrDrawPathOpBase(ClassID(), viewMatrix, std::move(paint), path->getFillType(), aaType) in GrDrawPathOp()
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp359 if (path.getFillType() == SkPath::FillType::kWinding_FillType) { in GetFillTypeString()
361 } else if (path.getFillType() == SkPath::FillType::kEvenOdd_FillType) { in GetFillTypeString()
507 .function("getFillType", &SkPath::getFillType) in EMSCRIPTEN_BINDINGS()
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp359 if (path.getFillType() == SkPath::FillType::kWinding_FillType) { in GetFillTypeString()
361 } else if (path.getFillType() == SkPath::FillType::kEvenOdd_FillType) { in GetFillTypeString()
507 .function("getFillType", &SkPath::getFillType) in EMSCRIPTEN_BINDINGS()
/external/skqp/src/pathops/
DSkOpEdgeBuilder.cpp13 fXorMask[0] = fXorMask[1] = (fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in init()
43 fXorMask[1] = (fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in addOperand()
/external/skia/src/pathops/
DSkOpEdgeBuilder.cpp13 fXorMask[0] = fXorMask[1] = (fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in init()
43 fXorMask[1] = (fPath->getFillType() & 1) ? kEvenOdd_PathOpsMask in addOperand()
DSkOpBuilder.cpp39 SkPath::FillType fillType = path->getFillType(); in FixWinding()

1234