Searched refs:pt_to_line (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/core/ |
D | SkStroke.cpp | 518 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() function 582 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line() 583 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line() 613 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line() 1035 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay() 1036 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay() 1250 SkScalar dist = pt_to_line(strokeMid, quadPts->fQuad[0], quadPts->fQuad[2]); in cubicMidOnLine()
|