• Home
  • Raw
  • Download

Lines Matching refs:SkPathConvexity

110         fPath->setConvexity(fDegenerate ? SkPathConvexity::kConvex  in ~SkAutoPathBoundsUpdate()
111 : SkPathConvexity::kUnknown); in ~SkAutoPathBoundsUpdate()
150 SkPath::SkPath(sk_sp<SkPathRef> pr, SkPathFillType ft, bool isVolatile, SkPathConvexity ct, in SkPath()
164 this->setConvexity(SkPathConvexity::kUnknown); in resetFields()
224 SkPathConvexity c = this->getConvexityOrUnknown(); in swap()
550 void SkPath::setConvexity(SkPathConvexity c) { in setConvexity()
555 void SkPath::setConvexity(SkPathConvexity c) const { in setConvexity()
566 SkPathConvexity convexity = this->getConvexityOrUnknown(); in isConvexityAccurate()
567 if (convexity != SkPathConvexity::kUnknown) { in isConvexityAccurate()
577 SkPathConvexity SkPath::getConvexity() const { in getConvexity()
580 SkPathConvexity convexity = this->getConvexityOrUnknown(); in getConvexity()
581 if (convexity == SkPathConvexity::kUnknown) { in getConvexity()
584 SkASSERT(convexity != SkPathConvexity::kUnknown); in getConvexity()
592 this->setConvexity(SkPathConvexity::kUnknown); in dirtyAfterEdit()
1622 SkPathConvexity convexity = this->getConvexityOrUnknown(); in transform()
1637 if (convexity == SkPathConvexity::kConvex && in transform()
1640 convexity = SkPathConvexity::kUnknown; in transform()
2092 static SkPathConvexity BySign(const SkPoint points[], int count) { in BySign()
2095 return SkPathConvexity::kConvex; in BySign()
2111 return SkPathConvexity::kUnknown; in BySign()
2118 return SkPathConvexity::kConcave; in BySign()
2130 return SkPathConvexity::kConvex; // that is, it may be convex, don't know yet in BySign()
2205 SkPathConvexity SkPath::computeConvexity() const { in computeConvexity()
2206 auto setComputedConvexity = [=](SkPathConvexity convexity){ in computeConvexity()
2207 SkASSERT(SkPathConvexity::kUnknown != convexity); in computeConvexity()
2213 return setComputedConvexity(SkPathConvexity::kConcave); in computeConvexity()
2234 SkPathConvexity convexity = Convexicator::BySign(points, pointCount); in computeConvexity()
2235 if (SkPathConvexity::kConvex != convexity) { in computeConvexity()
2236 return setComputedConvexity(SkPathConvexity::kConcave); 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()
3394 ft, isVolatile, SkPathConvexity::kUnknown, SkPathFirstDirection::kUnknown); in Make()