Home
last modified time | relevance | path

Searched refs:thisEdge (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkScan_AAAPath.cpp1051 static bool is_smooth_enough(SkAnalyticEdge* thisEdge, SkAnalyticEdge* nextEdge, int stop_y) { in is_smooth_enough() argument
1052 if (thisEdge->fCurveCount < 0) { in is_smooth_enough()
1053 const SkCubicEdge& cEdge = static_cast<SkAnalyticCubicEdge*>(thisEdge)->fCEdge; in is_smooth_enough()
1059 } else if (thisEdge->fCurveCount > 0) { in is_smooth_enough()
1060 const SkQuadraticEdge& qEdge = static_cast<SkAnalyticQuadraticEdge*>(thisEdge)->fQEdge; in is_smooth_enough()
1066 return SkAbs32(nextEdge->fDX - thisEdge->fDX) <= SK_Fixed1 && // DDx should be small in is_smooth_enough()
/external/skqp/src/core/
DSkScan_AAAPath.cpp950 static inline bool isSmoothEnough(SkAnalyticEdge* thisEdge, SkAnalyticEdge* nextEdge, int stop_y) { in isSmoothEnough() argument
951 if (thisEdge->fCurveCount < 0) { in isSmoothEnough()
952 const SkCubicEdge& cEdge = static_cast<SkAnalyticCubicEdge*>(thisEdge)->fCEdge; in isSmoothEnough()
958 } else if (thisEdge->fCurveCount > 0) { in isSmoothEnough()
959 const SkQuadraticEdge& qEdge = static_cast<SkAnalyticQuadraticEdge*>(thisEdge)->fQEdge; in isSmoothEnough()
966 return SkAbs32(nextEdge->fDX - thisEdge->fDX) <= SK_Fixed1 && // DDx should be small in isSmoothEnough()