Home
last modified time | relevance | path

Searched refs:pt_to_line (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/core/
DSkStroke.cpp500 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() function
564 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
565 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
596 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()
902 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay()
903 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay()
1113 SkScalar dist = pt_to_line(strokeMid, quadPts->fQuad[0], quadPts->fQuad[2]); in cubicMidOnLine()
/external/skia/src/core/
DSkStroke.cpp500 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() function
565 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
566 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
597 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()
898 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay()
899 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay()
1109 SkScalar dist = pt_to_line(strokeMid, quadPts->fQuad[0], quadPts->fQuad[2]); in cubicMidOnLine()
/external/skqp/samplecode/
DSampleAAGeometry.cpp1293 SkScalar pt_to_line(SkPoint s, SkPoint e, int x, int y) { in pt_to_line() function in AAGeometryView
1317 SkScalar ptToLineDist = pt_to_line(s, e, x, y); in coverage()
/external/skia/samplecode/
DSampleAAGeometry.cpp1293 SkScalar pt_to_line(SkPoint s, SkPoint e, int x, int y) { in pt_to_line() function in AAGeometryView
1317 SkScalar ptToLineDist = pt_to_line(s, e, x, y); in coverage()