/third_party/skia/src/pathops/ |
H A D | SkOpBuilder.cpp | 39 SkPathFillType fillType = path->getFillType(); in FixWinding() local 40 if (fillType == SkPathFillType::kInverseEvenOdd) { in FixWinding() 41 fillType = SkPathFillType::kInverseWinding; in FixWinding() 42 } else if (fillType == SkPathFillType::kEvenOdd) { in FixWinding() 43 fillType = SkPathFillType::kWinding; in FixWinding() 51 path->setFillType(fillType); in FixWinding() 90 path->setFillType(fillType); in FixWinding() 107 path->setFillType(fillType); in FixWinding()
|
H A D | SkPathOpsAsWinding.cpp | 324 SkPath reverseMarkedContours(vector<Contour>& contours, SkPathFillType fillType) { in reverseMarkedContours() argument 330 result.setFillType(fillType); in reverseMarkedContours() 369 static bool set_result_path(SkPath* result, const SkPath& path, SkPathFillType fillType) { in set_result_path() argument 371 result->setFillType(fillType); in set_result_path() 379 SkPathFillType fillType = path.getFillType(); in AsWinding() local 380 if (fillType == SkPathFillType::kWinding in AsWinding() 381 || fillType == SkPathFillType::kInverseWinding ) { in AsWinding() 382 return set_result_path(result, path, fillType); in AsWinding() 384 fillType = path.isInverseFillType() ? SkPathFillType::kInverseWinding : in AsWinding() 387 return set_result_path(result, path, fillType); in AsWinding() [all...] |
H A D | SkPathOpsSimplify.cpp | 143 SkPathFillType fillType = path.isInverseFillType() ? SkPathFillType::kInverseEvenOdd in SimplifyDebug() local 149 result->setFillType(fillType); in SimplifyDebug() 179 result->setFillType(fillType); in SimplifyDebug() 204 result->setFillType(fillType); in SimplifyDebug()
|
H A D | SkPathOpsOp.cpp | 251 SkPathFillType fillType = inverseFill ? SkPathFillType::kInverseEvenOdd : in OpDebug() local 256 result->setFillType(fillType); in OpDebug() 323 result->setFillType(fillType); in OpDebug() 350 result->setFillType(fillType); in OpDebug()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGShape.cpp | 14 const auto fillType = ctx.presentationContext().fInherited.fFillRule->asFillType(); in onRender() local 21 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender() 25 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
|
H A D | SkSVGPoly.cpp | 33 SkPathFillType fillType) const { in onDraw() 34 // the passed fillType follows inheritance rules and needs to be applied at draw time. in onDraw() 35 fPath.setFillType(fillType); in onDraw()
|
H A D | SkSVGPath.cpp | 28 SkPathFillType fillType) const { in onDraw() 29 // the passed fillType follows inheritance rules and needs to be applied at draw time. in onDraw() 31 path.setFillType(fillType); in onDraw()
|
/third_party/skia/docs/examples/ |
H A D | Path_FillType_b.cpp | 25 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in REG_FIDDLE() 29 path.setFillType(fillType); in REG_FIDDLE() 32 canvas->drawString(fillType & 1 ? "even-odd" : "winding", 64, 170, textPaint); in REG_FIDDLE()
|
H A D | Path_FillType_a.cpp | 17 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in REG_FIDDLE() 22 path.setFillType(fillType); in REG_FIDDLE()
|
/third_party/skia/modules/sksg/include/ |
H A D | SkSGPath.h | 37 void setFillType(SkPathFillType fillType) { in setFillType() argument 38 if (fillType != fPath.getFillType()) { in setFillType() 39 fPath.setFillType(fillType); in setFillType()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | PathBuilder.java | 52 public void setFillType(FillType fillType) { in setFillType() argument 53 nSetFillType(mNativeInstance, fillType.nativeInt); in setFillType() 75 private static native void nSetFillType(long mNativeInstance, int fillType); in nSetFillType() argument
|
/third_party/skia/gm/ |
H A D | largeclippedpath.cpp | 16 static void draw_clipped_flower(SkCanvas* canvas, SkPathFillType fillType) { in draw_clipped_flower() argument 30 flower.setFillType(fillType); in draw_clipped_flower()
|
/third_party/skia/tests/ |
H A D | PathBuilderTest.cpp | 46 for (auto fillType : { SkPathFillType::kWinding, in DEF_TEST() 50 SkPathBuilder b(fillType); in DEF_TEST() 52 REPORTER_ASSERT(reporter, b.fillType() == fillType); in DEF_TEST() 55 REPORTER_ASSERT(reporter, path.getFillType() == fillType); in DEF_TEST()
|
H A D | PathOpsExtendedTest.cpp | 363 SkPathFillType fillType = useXor ? SkPathFillType::kEvenOdd : SkPathFillType::kWinding; 364 path.setFillType(fillType); 380 if (fillType == SkPathFillType::kEvenOdd) { 445 fprintf(PathOpsDebug::gOut, " \"fillType%s\": \"k%s_FillType\"%s", fillTypeName, in json_path_out()
|
H A D | TriangulatingPathRendererTests.cpp | 840 static EdgeMap simplify(const EdgeMap& edges, SkPathFillType fillType) { in simplify() argument 846 if (fillType == SkPathFillType::kEvenOdd) { in simplify() 860 for (auto fillType : {SkPathFillType::kWinding}) { in verify_simple_inner_polygons() 861 path.setFillType(fillType); in verify_simple_inner_polygons()
|
/third_party/skia/fuzz/ |
H A D | FuzzCommon.cpp | 35 uint8_t fillType; in FuzzNicePath() local 36 fuzz->nextRange(&fillType, 0, (uint8_t)SkPathFillType::kInverseEvenOdd); in FuzzNicePath() 37 path->setFillType((SkPathFillType)fillType); in FuzzNicePath()
|
/third_party/skia/src/core/ |
H A D | SkPath_serial.cpp | 171 SkPathFillType fillType = extract_filltype(packed); in readAsRRect() local 194 this->setFillType(fillType); in readAsRRect()
|
H A D | SkScan_Path.cpp | 100 static void walk_edges(SkEdge* prevHead, SkPathFillType fillType, in walk_edges() argument 106 int windingMask = SkPathFillType_IsEvenOdd(fillType) ? 1 : -1; in walk_edges()
|
H A D | SkScan_AAAPath.cpp | 1555 SkPathFillType fillType, 1579 int windingMask = SkPathFillType_IsEvenOdd(fillType) ? 1 : -1; 1580 bool isInverse = SkPathFillType_IsInverse(fillType);
|
/third_party/skia/experimental/graphite/src/geom/ |
H A D | Shape.cpp | 88 SkPathBuilder builder(this->fillType()); in asPath()
|
H A D | Shape.h | 76 SkPathFillType fillType() const { in fillType() function in skgpu::Shape
|
/third_party/skia/include/core/ |
H A D | SkPath.h | 86 SkPathFillType fillType = SkPathFillType::kWinding, in Polygon() 88 return Polygon(list.begin(), SkToInt(list.size()), isClosed, fillType, isVolatile); in Polygon()
|
H A D | SkPathBuilder.h | 27 SkPathFillType fillType() const { return fFillType; } in fillType() function in SkPathBuilder
|
/third_party/skia/include/private/ |
H A D | GrTypesPriv.h | 206 inline GrFillRule GrFillRuleForPathFillType(SkPathFillType fillType) { 207 switch (fillType) {
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.cpp | 595 static inline bool apply_fill_type(SkPathFillType fillType, int winding) { in apply_fill_type() argument 596 switch (fillType) { in apply_fill_type() 615 static inline bool apply_fill_type(SkPathFillType fillType, Poly* poly) { in apply_fill_type() argument 616 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
|