Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpBuilder.cpp40 SkPath::FillType fillType = path->getFillType(); in FixWinding() local
41 if (fillType == SkPath::kInverseEvenOdd_FillType) { in FixWinding()
42 fillType = SkPath::kInverseWinding_FillType; in FixWinding()
43 } else if (fillType == SkPath::kEvenOdd_FillType) { in FixWinding()
44 fillType = SkPath::kWinding_FillType; in FixWinding()
51 path->setFillType(fillType); in FixWinding()
90 path->setFillType(fillType); in FixWinding()
107 path->setFillType(fillType); in FixWinding()
DSkPathOpsSimplify.cpp139 SkPath::FillType fillType = path.isInverseFillType() ? SkPath::kInverseEvenOdd_FillType in SimplifyDebug() local
145 result->setFillType(fillType); in SimplifyDebug()
185 result->setFillType(fillType); in SimplifyDebug()
210 result->setFillType(fillType); in SimplifyDebug()
DSkPathOpsOp.cpp236 SkPath::FillType fillType = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()] in OpDebug() local
275 result->setFillType(fillType); in OpDebug()
301 result->setFillType(fillType); in OpDebug()
DSkPathOpsDebug.cpp2918 SkPath::FillType fillType = path.getFillType(); in ShowOnePath() local
2919 SkASSERT(fillType >= SkPath::kWinding_FillType && fillType <= SkPath::kInverseEvenOdd_FillType); in ShowOnePath()
2923 SkDebugf(" %s.setFillType(SkPath::%s);\n", name, gFillTypeStr[fillType]); in ShowOnePath()
/external/skia/src/gpu/ops/
DGrStencilPathOp.h25 GrPathRendering::FillType fillType, in Make() argument
31 return std::unique_ptr<GrOp>(new GrStencilPathOp(viewMatrix, useHWAA, fillType, in Make()
48 GrPathRendering::FillType fillType, in GrStencilPathOp() argument
57 , fStencil(GrPathRendering::GetStencilPassSettings(fillType), hasStencilClip, in GrStencilPathOp()
DGrDrawPathOp.cpp58 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { in init_stencil_pass_settings() argument
61 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, in init_stencil_pass_settings()
75 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
147 if (GrPathRendering::kWinding_FillType != this->fillType() || in onCombineIfPossible()
148 GrPathRendering::kWinding_FillType != that->fillType()) { in onCombineIfPossible()
189 init_stencil_pass_settings(*state, this->fillType(), &stencil); in onExecute()
DGrDrawPathOp.h41 GrPathRendering::FillType fillType() const { return fFillType; } in fillType() function
/external/skia/experimental/svg/model/
DSkSVGShape.cpp14 const SkPath::FillType fillType = in onRender() local
19 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender()
23 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/src/gpu/
DGrTessellator.cpp750 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument
751 switch (fillType) { in apply_fill_type()
766 inline bool apply_fill_type(SkPath::FillType fillType, Poly* poly) { in apply_fill_type() argument
767 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
1459 void remove_non_boundary_edges(const VertexList& mesh, SkPath::FillType fillType, in remove_non_boundary_edges() argument
1471 apply_fill_type(fillType, leftEnclosingEdge->fWinding); in remove_non_boundary_edges()
1475 bool filled = apply_fill_type(fillType, e->fWinding); in remove_non_boundary_edges()
1620 void extract_boundary(EdgeList* boundary, Edge* e, SkPath::FillType fillType, SkArenaAlloc& alloc) { in extract_boundary() argument
1621 bool down = apply_fill_type(fillType, e->fWinding); in extract_boundary()
1653 VertexList* outerVertices, SkPath::FillType fillType, in extract_boundaries() argument
[all …]
/external/skia/tests/
DPathOpsExtendedTest.cpp429 SkPath::FillType fillType = useXor ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType; in testSimplify() local
430 path.setFillType(fillType); in testSimplify()
446 if (fillType == SkPath::kEvenOdd_FillType) { in testSimplify()
/external/skia/src/core/
DSkScan_Path.cpp95 static void walk_edges(SkEdge* prevHead, SkPath::FillType fillType, in walk_edges() argument
102 int windingMask = (fillType & 1) ? 1 : -1; in walk_edges()
DSkScan_AAAPath.cpp1375 SkPath::FillType fillType, AdditiveBlitter* blitter, int start_y, int stop_y, in aaa_walk_edges() argument
1393 int windingMask = (fillType & 1) ? 1 : -1; in aaa_walk_edges()
1395 bool isInverse = SkPath::IsInverseFillType(fillType); in aaa_walk_edges()
/external/skia/tools/debugger/
DSkDebugCanvas.cpp764 SkPath::FillType fillType = path.getFillType(); in addPathData() local
767 gFillTypeStrs[fillType]); in addPathData()
DSkDrawCommand.cpp1584 const char* fillType = path[SKDEBUGCANVAS_ATTRIBUTE_FILLTYPE].asCString(); in extract_json_path() local
1585 if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_WINDING)) { in extract_json_path()
1588 else if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_EVENODD)) { in extract_json_path()
1591 else if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_INVERSEWINDING)) { in extract_json_path()
1594 else if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_INVERSEEVENODD)) { in extract_json_path()
/external/skia/fuzz/
DFuzzCanvas.cpp109 uint8_t fillType; in fuzz_path() local
110 fuzz->nextRange(&fillType, 0, (uint8_t)SkPath::kInverseEvenOdd_FillType); in fuzz_path()
111 path->setFillType((SkPath::FillType)fillType); in fuzz_path()
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...