Searched refs:pt_to_line (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/core/ |
D | SkStroke.cpp | 489 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() function 553 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line() 554 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line() 584 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() 1108 SkScalar dist = pt_to_line(strokeMid, quadPts->fQuad[0], quadPts->fQuad[2]); in cubicMidOnLine()
|
/external/skia/samplecode/ |
D | SampleAAGeometry.cpp | 1299 SkScalar pt_to_line(SkPoint s, SkPoint e, int x, int y) { in pt_to_line() function in AAGeometryView 1323 SkScalar ptToLineDist = pt_to_line(s, e, x, y); in coverage()
|