Home
last modified time | relevance | path

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

/third_party/skia/gm/
Daaa.cpp68 SkPathPriv::SetConvexity(&path, SkPathConvexity::kConvex); in DEF_SIMPLE_GM()
/third_party/skia/include/private/
DSkPathRef.h30 kConvex, enumerator
/third_party/skia/src/core/
DSkPath.cpp110 fPath->setConvexity(fDegenerate ? SkPathConvexity::kConvex in ~SkAutoPathBoundsUpdate()
1645 if (convexity == SkPathConvexity::kConvex && in transform()
2103 return SkPathConvexity::kConvex; in BySign()
2138 return SkPathConvexity::kConvex; // that is, it may be convex, don't know yet in BySign()
2255 if (SkPathConvexity::kConvex != convexity) { in computeConvexity()
2310 SkPathConvexity::kConvex : SkPathConvexity::kConcave); in computeConvexity()
2314 return setComputedConvexity(SkPathConvexity::kConvex); in computeConvexity()
2493 if (path.getConvexityOrUnknown() == SkPathConvexity::kConvex) { in ComputeFirstDirection()
3238 path->setConvexity(convex ? SkPathConvexity::kConvex : SkPathConvexity::kConcave); in CreateDrawArcPath()
DSkPathBuilder.cpp194 convexity = SkPathConvexity::kConvex; in make()
199 convexity = SkPathConvexity::kConvex; in make()
/third_party/flutter/skia/src/utils/
DSkPolyUtils.cpp1429 enum class VertexType { kConvex, kReflex }; enumerator
1578 p->fVertexType = TriangulationVertex::VertexType::kConvex; in reclassify_vertex()
1623 triangulationVertices[currIndex].fVertexType = TriangulationVertex::VertexType::kConvex; in SkTriangulateSimplePolygon()
1642 if (TriangulationVertex::VertexType::kConvex == currType) { in SkTriangulateSimplePolygon()
/third_party/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()
/third_party/skia/tests/
DGrClipStackTest.cpp1594 enum ShapeType { kRect, kRRect, kConvex }; in DEF_TEST() enumerator
1597 for (ShapeType type : { kRect, kRRect, kConvex }) { in DEF_TEST()
1635 case kConvex: in DEF_TEST()
1645 if (type == kConvex) { in DEF_TEST()
DPathTest.cpp5543 return is_convex ? (c == SkPathConvexity::kConvex) : (c != SkPathConvexity::kConvex); in conditional_convex()
5559 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) == SkPathConvexity::kConvex); in survive()
5565 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) == SkPathConvexity::kConvex); in survive()
5567 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(*path) == SkPathConvexity::kConvex); in survive()
5590 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) != SkPathConvexity::kConvex); in survive()
5591 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(*path) != SkPathConvexity::kConvex); in survive()
5859 REPORTER_ASSERT(r, origConvexity == SkPathConvexity::kConvex); in DEF_TEST()
/third_party/skia/include/core/
DSkPath.h229 return SkPathConvexity::kConvex == this->getConvexity(); in isConvex()