Home
last modified time | relevance | path

Searched refs:kConvex (Results 1 – 10 of 10) sorted by relevance

/external/skia/docs/examples/
DPath_getConvexityOrUnknown.cpp10 … SkPathConvexityType::kConvex == path.getConvexityTypeOrUnknown() ? "convex" : "concave"); }; in draw()
/external/skia/gm/
Daaa.cpp68 SkPathPriv::SetConvexity(&path, SkPathConvexity::kConvex); in DEF_SIMPLE_GM()
/external/skia/include/private/
DSkPathRef.h30 kConvex, enumerator
/external/skia/src/core/
DSkPath.cpp110 fPath->setConvexity(fDegenerate ? SkPathConvexity::kConvex in ~SkAutoPathBoundsUpdate()
1637 if (convexity == SkPathConvexity::kConvex && in transform()
2095 return SkPathConvexity::kConvex; in BySign()
2130 return SkPathConvexity::kConvex; // that is, it may be convex, don't know yet in BySign()
2235 if (SkPathConvexity::kConvex != convexity) { in computeConvexity()
2290 SkPathConvexity::kConvex : SkPathConvexity::kConcave); in computeConvexity()
2294 return setComputedConvexity(SkPathConvexity::kConvex); in computeConvexity()
2473 if (path.getConvexityOrUnknown() == SkPathConvexity::kConvex) { in ComputeFirstDirection()
3218 path->setConvexity(convex ? SkPathConvexity::kConvex : SkPathConvexity::kConcave); in CreateDrawArcPath()
DSkPathBuilder.cpp190 convexity = SkPathConvexity::kConvex; in make()
195 convexity = SkPathConvexity::kConvex; in make()
/external/skqp/src/utils/
DSkPolyUtils.cpp1397 enum class VertexType { kConvex, kReflex }; enumerator
1546 p->fVertexType = TriangulationVertex::VertexType::kConvex; in reclassify_vertex()
1591 triangulationVertices[currIndex].fVertexType = TriangulationVertex::VertexType::kConvex; in SkTriangulateSimplePolygon()
1610 if (TriangulationVertex::VertexType::kConvex == currType) { in SkTriangulateSimplePolygon()
/external/skia/src/utils/
DSkPolyUtils.cpp1445 enum class VertexType { kConvex, kReflex }; enumerator
1594 p->fVertexType = TriangulationVertex::VertexType::kConvex; in reclassify_vertex()
1639 triangulationVertices[currIndex].fVertexType = TriangulationVertex::VertexType::kConvex; in SkTriangulateSimplePolygon()
1658 if (TriangulationVertex::VertexType::kConvex == currType) { in SkTriangulateSimplePolygon()
/external/skia/tests/
DGrClipStackTest.cpp1516 enum ShapeType { kRect, kRRect, kConvex }; in DEF_TEST() enumerator
1519 for (ShapeType type : { kRect, kRRect, kConvex }) { in DEF_TEST()
1557 case kConvex: in DEF_TEST()
1567 if (type == kConvex) { in DEF_TEST()
DPathTest.cpp5510 return is_convex ? (c == SkPathConvexity::kConvex) : (c != SkPathConvexity::kConvex); in conditional_convex()
5526 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) == SkPathConvexity::kConvex); in survive()
5532 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) == SkPathConvexity::kConvex); in survive()
5534 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(*path) == SkPathConvexity::kConvex); in survive()
5557 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) != SkPathConvexity::kConvex); in survive()
5558 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(*path) != SkPathConvexity::kConvex); in survive()
5826 REPORTER_ASSERT(r, origConvexity == SkPathConvexity::kConvex); in DEF_TEST()
/external/skia/include/core/
DSkPath.h229 return SkPathConvexity::kConvex == this->getConvexity(); in isConvex()