Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkStroke.cpp533 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() function
598 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
599 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
630 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()
931 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay()
932 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay()
1142 SkScalar dist = pt_to_line(strokeMid, quadPts->fQuad[0], quadPts->fQuad[2]); in cubicMidOnLine()
/third_party/flutter/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()
/third_party/flutter/skia/samplecode/
DSampleAAGeometry.cpp1288 SkScalar pt_to_line(SkPoint s, SkPoint e, int x, int y) { in pt_to_line() function in AAGeometryView
1312 SkScalar ptToLineDist = pt_to_line(s, e, x, y); in coverage()