Home
last modified time | relevance | path

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

12

/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm150 SkASSERT(path.getFillType() < SkPath::kInverseWinding_FillType);
152 path.getFillType() == SkPath::kWinding_FillType ? "Winding" : "EvenOdd");
157 bool expected = (path.getFillType() == SkPath::kWinding_FillType && contours == 1)
158 || (path.getFillType() == SkPath::kEvenOdd_FillType && contours == 2);
/external/skia/tests/
DSubsetPath.cpp97 result.setFillType(fPath.getFillType()); in getSubsetPath()
184 result.setFillType(fPath.getFillType()); in getSubsetPath()
DPathOpsSimplifyFailTest.cpp66 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); in failOne()
91 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType); in dontFailOne()
DPathOpsExtendedTest.cpp554 scaledA.setFillType(a.getFillType()); in innerPathOp()
556 scaledB.setFillType(b.getFillType()); in innerPathOp()
564 scaledOut.setFillType(out.getFillType()); in innerPathOp()
DEmptyPathTest.cpp51 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
DGrShapeTest.cpp161 if (fPath.getFillType() == SkPath::kEvenOdd_FillType) { in PathGeo()
164 SkASSERT(fPath.getFillType() == SkPath::kWinding_FillType); in PathGeo()
308 p.setFillType(SkPath::ConvertToNonInverseFillType(path.getFillType())); in CheckBounds()
492 if (SkPath::ConvertToNonInverseFillType(pathA.getFillType()) != in check_equivalence()
493 SkPath::ConvertToNonInverseFillType(pathB.getFillType())) { in check_equivalence()
510 pA.setFillType(SkPath::ConvertToNonInverseFillType(pathA.getFillType())); in check_equivalence()
511 pB.setFillType(SkPath::ConvertToNonInverseFillType(pathB.getFillType())); in check_equivalence()
1159 a.setFillType(b.getFillType()); in test_make_hairline_path_effect()
/external/skia/src/gpu/
DGrPath.h39 GrPathRendering::FillType getFillType() const { return fFillType; } in getFillType() function
DGrDistanceFieldGenFromVector.cpp762 if (!IsDistanceFieldSupportedFillType(workingPath.getFillType())) { in GrGenerateDistanceFieldFromPath()
837 if (workingPath.getFillType() == SkPath::kWinding_FillType) { in GrGenerateDistanceFieldFromPath()
839 } else if (workingPath.getFillType() == SkPath::kInverseWinding_FillType) { in GrGenerateDistanceFieldFromPath()
841 } else if (workingPath.getFillType() == SkPath::kEvenOdd_FillType) { in GrGenerateDistanceFieldFromPath()
844 SkASSERT(workingPath.getFillType() == SkPath::kInverseEvenOdd_FillType); in GrGenerateDistanceFieldFromPath()
DGrShape.cpp100 *key++ = path.getFillType(); in write_path_key_from_data()
184 *key++ = this->path().getFillType(); in writeUnstyledKey()
DGrTessellator.cpp1751 SkPath::FillType fillType = path.getFillType(); in path_to_polys()
1758 return contours_to_polys(contours.get(), contourCnt, path.getFillType(), path.getBounds(), in path_to_polys()
1827 SkPath::FillType fillType = antialias ? SkPath::kWinding_FillType : path.getFillType(); in PathToTriangles()
1866 SkPath::FillType fillType = path.getFillType(); in PathToVertices()
DGrRenderTargetContext.cpp733 path->getFillType(), in stencilPath()
1386 if (SkPath::kWinding_FillType == path.getFillType() && dirs[0] == dirs[1]) { in fills_as_nested_rects()
/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.cpp40 SkPath::FillType fillType = path->getFillType(); in FixWinding()
DSkPathOpsDebug.cpp2918 SkPath::FillType fillType = path.getFillType(); in ShowOnePath()
2954 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", one.getFillType()); in DumpOp()
2958 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", two.getFillType()); in DumpOp()
2977 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", path.getFillType()); in DumpSimplify()
3073 scaledA.setFillType(one.getFillType()); in VerifyOp()
3075 scaledB.setFillType(two.getFillType()); in VerifyOp()
3083 scaledOut.setFillType(result.getFillType()); in VerifyOp()
3110 scaledA.setFillType(path.getFillType()); in VerifySimplify()
3116 scaledOut.setFillType(result.getFillType()); in VerifySimplify()
/external/skia/src/gpu/ops/
DGrDrawPathOp.h82 : GrDrawPathOpBase(ClassID(), viewMatrix, std::move(paint), path->getFillType(), aa) in GrDrawPathOp()
DGrDefaultPathRenderer.cpp457 switch (path.getFillType()) { in internalDrawPath()
DGrMSAAPathRenderer.cpp592 switch (path.getFillType()) { in internalDrawPath()
/external/skia/src/core/
DSkScan_Path.cpp472 walk_convex_edges(&headEdge, path.getFillType(), blitter, start_y, stop_y, nullptr); in sk_fill_path()
474 walk_edges(&headEdge, path.getFillType(), blitter, start_y, stop_y, proc, in sk_fill_path()
DSkPath.cpp2167 gFillTypeStrs[(int) this->getFillType()]); in dump()
3201 bool evenOddFill = SkPath::kEvenOdd_FillType == this->getFillType() in contains()
3202 || SkPath::kInverseEvenOdd_FillType == this->getFillType(); in contains()
/external/skia/src/gpu/gl/
DGrGLPath.cpp320 fFillType = convert_skpath_filltype(skPath->getFillType()); in GrGLPath()
/external/skia/src/svg/
DSkSVGDevice.cpp456 const char* clipRule = clipPath.getFillType() == SkPath::kEvenOdd_FillType ? in addClipResources()
666 if (path.getFillType() == SkPath::kEvenOdd_FillType) { in drawPath()
/external/skia/tools/debugger/
DSkObjectParser.cpp146 mPath->append(gFillStrings[path.getFillType()]); in PathToString()
DSkDebugCanvas.cpp764 SkPath::FillType fillType = path.getFillType(); in addPathData()
/external/skia/include/core/
DSkPath.h96 FillType getFillType() const { return (FillType)fFillType; } in getFillType() function
/external/skia/src/pdf/
DSkPDFFont.cpp654 SkPDFUtils::PaintPath(SkPaint::kFill_Style, path->getFillType(), in add_type3_font_info()

12