Searched refs:lineSlop (Results 1 – 1 of 1) sorted by relevance
552 SkScalar lineSlop = ptMax * ptMax * 0.00001f; // this multiplier is pulled out of the air in cubic_in_line() local553 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()583 SkScalar lineSlop = ptMax * ptMax * 0.00001f; // this multiplier is pulled out of the air in quad_in_line() local584 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()