Lines Matching refs:ray
239 ResultType strokeCloseEnough(const SkPoint stroke[3], const SkPoint ray[2],
993 const SkPoint ray[2], SkQuadConstruct* quadPts STROKER_DEBUG_PARAMS(int depth)) const { in strokeCloseEnough()
996 if (points_within_dist(ray[0], strokeMid, fInvResScale)) { // if the difference is small in strokeCloseEnough()
1006 ray[0].fX, ray[0].fY, strokeMid.fX, strokeMid.fY, fInvResScale); in strokeCloseEnough()
1010 if (!ptInQuadBounds(stroke, ray[0])) { // if far, subdivide in strokeCloseEnough()
1014 ray[0].fX, ray[0].fY); in strokeCloseEnough()
1018 int rootCount = intersect_quad_ray(ray, stroke, roots); in strokeCloseEnough()
1025 if (points_within_dist(ray[0], quadPt, error)) { // if the difference is small, we're done in strokeCloseEnough()
1035 ray[0].fX, ray[0].fY, quadPt.fX, quadPt.fY, error); in strokeCloseEnough()
1051 SkPoint ray[2]; // points near midpoint on quad, midpoint on cubic in compareQuadCubic() local
1052 this->cubicPerpRay(cubic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadCubic()
1053 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadCubic()
1067 SkPoint ray[2]; // points near midpoint on quad, midpoint on conic in compareQuadConic() local
1068 this->conicPerpRay(conic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadConic()
1069 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadConic()
1094 SkPoint ray[2]; in compareQuadQuad() local
1095 this->quadPerpRay(quad, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadQuad()
1096 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadQuad()