Home
last modified time | relevance | path

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

1234

/external/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);
/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/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()
/external/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()
/external/skia/src/gpu/tessellate/
DGrPathStencilFillOp.cpp67 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
70 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
87 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
89 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
94 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
DGrPathInnerTriangulateOp.cpp106 args, fViewMatrix, pipelineForStencils, fPath.getFillType()); in prePreparePrograms()
116 GrStencilPathShader::StencilPassSettings(fPath.getFillType())); in prePreparePrograms()
150 auto* stencil = (fPath.getFillType() == SkPathFillType::kWinding) in prePreparePrograms()
194 auto* stencil = (fPath.getFillType() == SkPathFillType::kWinding) in prePreparePrograms()
/external/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()
/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()
/external/skia/src/gpu/ccpr/
DGrCCClipProcessor.cpp55 that.fClipPath->deviceSpacePath().getFillType() == in onIsEqual()
56 fClipPath->deviceSpacePath().getFillType() && in onIsEqual()
/external/skqp/modules/sksg/src/
DSkSGPath.cpp29 const auto ft = fPath.getFillType(); in onRevalidate()
/external/skia/modules/skottie/src/
DPath.cpp33 path.setFillType(path_node->getFillType()); in onSync()
/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/modules/sksg/src/
DSkSGPath.cpp33 const auto ft = fPath.getFillType(); in onRevalidate()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DShapeFill.java43 public Path.FillType getFillType() { in getFillType() method in ShapeFill
DGradientFill.java53 public Path.FillType getFillType() { in getFillType() method in GradientFill
/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/skqp/src/gpu/ops/
DGrDrawPathOp.h92 : GrDrawPathOpBase(ClassID(), viewMatrix, std::move(paint), path->getFillType(), aaType) in GrDrawPathOp()
/external/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()
/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/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()

1234