Lines Matching refs:xformPt
592 const DPoint xformPt = segment.fXformMatrix.mapPoint(point); in distance_to_segment() local
597 if (between_closed(xformPt.x(), segment.fP0T.x(), segment.fP2T.x())) { in distance_to_segment()
598 result = (float)(xformPt.y() * xformPt.y()); in distance_to_segment()
599 } else if (xformPt.x() < segment.fP0T.x()) { in distance_to_segment()
600 result = (float)(xformPt.x() * xformPt.x() + xformPt.y() * xformPt.y()); in distance_to_segment()
602 result = (float)((xformPt.x() - segment.fP2T.x()) * (xformPt.x() - segment.fP2T.x()) in distance_to_segment()
603 + xformPt.y() * xformPt.y()); in distance_to_segment()
608 *side = (SegSide)(int)sign_of(xformPt.y()); in distance_to_segment()
616 const float nearestPoint = calculate_nearest_point_for_quad(segment, xformPt); in distance_to_segment()
622 dist = (float)xformPt.distanceToSqd(x); in distance_to_segment()
624 const float distToB0T = (float)xformPt.distanceToSqd(segment.fP0T); in distance_to_segment()
625 const float distToB2T = (float)xformPt.distanceToSqd(segment.fP2T); in distance_to_segment()
636 *side = calculate_side_of_quad(segment, point, xformPt, rowData); in distance_to_segment()