Home
last modified time | relevance | path

Searched refs:fillType (Results 1 – 25 of 61) sorted by relevance

123

/third_party/flutter/skia/src/pathops/
DSkOpBuilder.cpp39 SkPath::FillType fillType = path->getFillType(); in FixWinding() local
40 if (fillType == SkPath::kInverseEvenOdd_FillType) { in FixWinding()
41 fillType = SkPath::kInverseWinding_FillType; in FixWinding()
42 } else if (fillType == SkPath::kEvenOdd_FillType) { in FixWinding()
43 fillType = SkPath::kWinding_FillType; in FixWinding()
50 path->setFillType(fillType); in FixWinding()
88 path->setFillType(fillType); in FixWinding()
105 path->setFillType(fillType); in FixWinding()
DSkPathOpsAsWinding.cpp370 static bool set_result_path(SkPath* result, const SkPath& path, SkPath::FillType fillType) { in set_result_path() argument
372 result->setFillType(fillType); in set_result_path()
380 SkPath::FillType fillType = path.getFillType(); in AsWinding() local
381 if (fillType == SkPath::kWinding_FillType in AsWinding()
382 || fillType == SkPath::kInverseWinding_FillType ) { in AsWinding()
383 return set_result_path(result, path, fillType); in AsWinding()
385 fillType = path.isInverseFillType() ? SkPath::kInverseWinding_FillType : in AsWinding()
388 return set_result_path(result, path, fillType); in AsWinding()
395 return set_result_path(result, path, fillType); in AsWinding()
405 return set_result_path(result, path, fillType); in AsWinding()
[all …]
DSkPathOpsSimplify.cpp143 SkPath::FillType fillType = path.isInverseFillType() ? SkPath::kInverseEvenOdd_FillType in SimplifyDebug() local
149 result->setFillType(fillType); in SimplifyDebug()
179 result->setFillType(fillType); in SimplifyDebug()
204 result->setFillType(fillType); in SimplifyDebug()
/third_party/skia/src/pathops/
DSkOpBuilder.cpp39 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()
DSkPathOpsAsWinding.cpp324 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 …]
DSkPathOpsSimplify.cpp143 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()
DSkPathOpsOp.cpp251 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/
DSkSVGShape.cpp14 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()
DSkSVGPoly.cpp33 SkPathFillType fillType) const { in onDraw()
35 fPath.setFillType(fillType); in onDraw()
DSkSVGPath.cpp28 SkPathFillType fillType) const { in onDraw()
31 path.setFillType(fillType); in onDraw()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGShape.cpp14 const auto fillType = ctx.presentationContext().fInherited.fFillRule.get()->asFillType(); in onRender() local
18 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender()
22 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
DSkSVGPath.cpp29 SkPath::FillType fillType) const { in onDraw()
31 fPath.setFillType(fillType); in onDraw()
DSkSVGPoly.cpp36 SkPath::FillType fillType) const { in onDraw()
38 fPath.setFillType(fillType); in onDraw()
/third_party/skia/modules/sksg/include/
DSkSGPath.h37 void setFillType(SkPathFillType fillType) { in setFillType() argument
38 if (fillType != fPath.getFillType()) { in setFillType()
39 fPath.setFillType(fillType); in setFillType()
/third_party/skia/docs/examples/
DPath_FillType_b.cpp25 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd,
29 path.setFillType(fillType);
32 canvas->drawString(fillType & 1 ? "even-odd" : "winding", 64, 170, textPaint);
DPath_FillType_a.cpp17 for (auto fillType : { SkPathFillType::kWinding, SkPathFillType::kEvenOdd, in draw()
22 path.setFillType(fillType); in draw()
/third_party/flutter/skia/docs/examples/
DPath_FillType_b.cpp25 for (auto fillType : { SkPath::kWinding_FillType, SkPath::kEvenOdd_FillType,
29 path.setFillType(fillType);
32 canvas->drawString(fillType & 1 ? "even-odd" : "winding", 64, 170, textPaint);
DPath_FillType_a.cpp17 for (auto fillType : { SkPath::kWinding_FillType, SkPath::kEvenOdd_FillType, in draw()
22 path.setFillType(fillType); in draw()
/third_party/flutter/skia/src/gpu/ops/
DGrStencilPathOp.h26 GrPathRendering::FillType fillType,
47 GrPathRendering::FillType fillType, in GrStencilPathOp() argument
54 , fFillType(fillType) in GrStencilPathOp()
DGrStencilPathOp.cpp20 GrPathRendering::FillType fillType, in Make() argument
26 return pool->allocate<GrStencilPathOp>(viewMatrix, useHWAA, fillType, in Make()
DGrDrawPathOp.cpp69 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { in init_stencil_pass_settings() argument
72 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, in init_stencil_pass_settings()
96 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DPathBuilder.java52 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/
Dlargeclippedpath.cpp16 static void draw_clipped_flower(SkCanvas* canvas, SkPathFillType fillType) { in draw_clipped_flower() argument
30 flower.setFillType(fillType); in draw_clipped_flower()
/third_party/flutter/skia/src/core/
DSkPath_serial.cpp167 FillType fillType = extract_filltype(packed); in readAsRRect() local
190 this->setFillType(fillType); in readAsRRect()
292 FillType fillType = extract_filltype(packed); in readFromMemory_LE3() local
315 fFillType = fillType; in readFromMemory_LE3()
/third_party/skia/tests/
DPathBuilderTest.cpp46 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()

123