Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpBuilder.cpp29 SkPath::FillType fillType = path->getFillType(); in FixWinding() local
30 if (fillType == SkPath::kInverseEvenOdd_FillType) { in FixWinding()
31 fillType = SkPath::kInverseWinding_FillType; in FixWinding()
32 } else if (fillType == SkPath::kEvenOdd_FillType) { in FixWinding()
33 fillType = SkPath::kWinding_FillType; in FixWinding()
42 path->setFillType(fillType); in FixWinding()
71 path->setFillType(fillType); in FixWinding()
85 path->setFillType(fillType); in FixWinding()
DSkPathOpsSimplify.cpp170 SkPath::FillType fillType = path.isInverseFillType() ? SkPath::kInverseEvenOdd_FillType in Simplify() local
176 result->setFillType(fillType); in Simplify()
196 result->setFillType(fillType); in Simplify()
217 result->setFillType(fillType); in Simplify()
228 temp.setFillType(fillType); in Simplify()
232 result->setFillType(fillType); in Simplify()
DSkPathOpsOp.cpp266 SkPath::FillType fillType = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()] in OpDebug() local
296 result->setFillType(fillType); in OpDebug()
318 result->setFillType(fillType); in OpDebug()
323 temp.setFillType(fillType); in OpDebug()
327 result->setFillType(fillType); in OpDebug()
DSkPathOpsDebug.cpp1846 SkPath::FillType fillType = path.getFillType(); in ShowOnePath() local
1847 SkASSERT(fillType >= SkPath::kWinding_FillType && fillType <= SkPath::kInverseEvenOdd_FillType); in ShowOnePath()
1851 SkDebugf(" %s.setFillType(SkPath::%s);\n", name, gFillTypeStr[fillType]); in ShowOnePath()
/external/skia/src/animator/
DSkDrawPath.cpp19 SK_PROPERTY(fillType),
27 SK_MEMBER_PROPERTY(fillType, FillType),
145 case SK_PROPERTY(fillType): in getProperty()
168 case SK_PROPERTY(fillType): in setProperty()
DSkAnimateSchema.xsd2046 <!-- @attribute fillType One of @pattern. -->
2047 <xs:attribute name="fillType" type="Sk:FillType"/>
/external/skia/src/gpu/
DGrTessellator.cpp622 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument
623 switch (fillType) { in apply_fill_type()
1332 SkPath::FillType fillType = path.getFillType(); in path_to_polys() local
1333 if (SkPath::IsInverseFillType(fillType)) { in path_to_polys()
1361 int count_points(Poly* polys, SkPath::FillType fillType) { in count_points() argument
1364 if (apply_fill_type(fillType, poly->fWinding) && poly->fCount >= 3) { in count_points()
1389 SkPath::FillType fillType = path.getFillType(); in PathToTriangles() local
1390 int count = count_points(polys, fillType); in PathToTriangles()
1412 if (apply_fill_type(fillType, poly->fWinding)) { in PathToTriangles()
1440 SkPath::FillType fillType = path.getFillType(); in PathToVertices() local
[all …]
DGrDrawTarget.cpp345 this->getPathStencilSettingsForFilltype(batch->fillType(), sb, &stencilSettings); in drawPathBatch()
/external/skia/tools/json/
DSkJSONRenderer.cpp553 const char* fillType = path[SKJSONCANVAS_ATTRIBUTE_FILLTYPE].asCString(); in getPath() local
554 if (!strcmp(fillType, SKJSONCANVAS_FILLTYPE_WINDING)) { in getPath()
557 else if (!strcmp(fillType, SKJSONCANVAS_FILLTYPE_EVENODD)) { in getPath()
560 else if (!strcmp(fillType, SKJSONCANVAS_FILLTYPE_INVERSEWINDING)) { in getPath()
563 else if (!strcmp(fillType, SKJSONCANVAS_FILLTYPE_INVERSEEVENODD)) { in getPath()
/external/skia/tests/
DPathOpsExtendedTest.cpp426 SkPath::FillType fillType = useXor ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType; in testSimplify() local
427 path.setFillType(fillType); in testSimplify()
445 if (fillType == SkPath::kEvenOdd_FillType) { in testSimplify()
/external/skia/src/gpu/batches/
DGrDrawPathBatch.h29 GrPathRendering::FillType fillType() const { return fFillType; } in fillType() function
DGrDrawPathBatch.cpp93 if (GrPathRendering::kWinding_FillType != this->fillType() || in onCombineIfPossible()
/external/skia/tools/debugger/
DSkDebugCanvas.cpp588 SkPath::FillType fillType = path.getFillType(); in addPathData() local
591 gFillTypeStrs[fillType]); in addPathData()
DSkDrawCommand.cpp1470 const char* fillType = path[SKDEBUGCANVAS_ATTRIBUTE_FILLTYPE].asCString(); in extract_json_path() local
1471 if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_WINDING)) { in extract_json_path()
1474 else if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_EVENODD)) { in extract_json_path()
1477 else if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_INVERSEWINDING)) { in extract_json_path()
1480 else if (!strcmp(fillType, SKDEBUGCANVAS_FILLTYPE_INVERSEEVENODD)) { in extract_json_path()
/external/skia/src/core/
DSkScan_Path.cpp131 static void walk_edges(SkEdge* prevHead, SkPath::FillType fillType, in walk_edges() argument
138 int windingMask = (fillType & 1) ? 1 : -1; in walk_edges()