Home
last modified time | relevance | path

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

123

/external/skqp/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()
/external/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()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DShapeFill.java15 private final Path.FillType fillType; field in ShapeFill
21 public ShapeFill(String name, boolean fillEnabled, Path.FillType fillType, in ShapeFill() argument
25 this.fillType = fillType; in ShapeFill()
44 return fillType; in getFillType()
DGradientFill.java18 private final Path.FillType fillType; field in GradientFill
28 public GradientFill(String name, GradientType gradientType, Path.FillType fillType, in GradientFill() argument
34 this.fillType = fillType; in GradientFill()
54 return fillType; in getFillType()
/external/skia/src/gpu/tessellate/
DGrStencilPathShader.h44 static const GrUserStencilSettings* StencilPassSettings(SkPathFillType fillType) { in StencilPassSettings() argument
65 SkASSERT(fillType == SkPathFillType::kWinding || fillType == SkPathFillType::kEvenOdd); in StencilPassSettings()
66 return (fillType == SkPathFillType::kWinding) ? &kIncrDecrStencil : &kInvertStencil; in StencilPassSettings()
80 const SkPathFillType fillType) { in MakeStencilProgram() argument
82 StencilPassSettings(fillType)); in MakeStencilProgram()
DGrTessellationPathRenderer.h61 SkPath* getAtlasUberPath(SkPathFillType fillType, bool antialias) { in getAtlasUberPath() argument
63 idx |= (int)fillType & 1; in getAtlasUberPath()
/external/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()
/external/skqp/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()
/external/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()
/external/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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVectorDrawable.java66 int fillType; field in ShadowVectorDrawable.Path
110 propertiesBB.putInt(FILL_TYPE_INDEX * 4, path.fillType); in nGetFullPathProperties()
129 int fillType) { in nUpdateFullPathProperties() argument
142 path.fillType = fillType; in nUpdateFullPathProperties()
/external/skqp/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.cpp57 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { in init_stencil_pass_settings() argument
60 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, in init_stencil_pass_settings()
84 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DGradientFillParser.java42 Path.FillType fillType = Path.FillType.WINDING; in parse() local
81 fillType = reader.nextInt() == 1 ? Path.FillType.WINDING : Path.FillType.EVEN_ODD; in parse()
93 name, gradientType, fillType, color, opacity, startPoint, endPoint, null, null, hidden); in parse()
DShapeFillParser.java60 Path.FillType fillType = fillTypeInt == 1 ? Path.FillType.WINDING : Path.FillType.EVEN_ODD; in parse() local
61 return new ShapeFill(name, fillEnabled, fillType, color, opacity, hidden); in parse()

123