Lines Matching refs:ray
231 ResultType strokeCloseEnough(const SkPoint stroke[3], const SkPoint ray[2],
967 const SkPoint ray[2], SkQuadConstruct* quadPts STROKER_DEBUG_PARAMS(int depth)) const { in strokeCloseEnough()
970 if (points_within_dist(ray[0], strokeMid, fInvResScale)) { // if the difference is small in strokeCloseEnough()
980 ray[0].fX, ray[0].fY, strokeMid.fX, strokeMid.fY, fInvResScale); in strokeCloseEnough()
984 if (!ptInQuadBounds(stroke, ray[0])) { // if far, subdivide in strokeCloseEnough()
988 ray[0].fX, ray[0].fY); in strokeCloseEnough()
992 int rootCount = intersect_quad_ray(ray, stroke, roots); in strokeCloseEnough()
999 if (points_within_dist(ray[0], quadPt, error)) { // if the difference is small, we're done in strokeCloseEnough()
1009 ray[0].fX, ray[0].fY, quadPt.fX, quadPt.fY, error); in strokeCloseEnough()
1027 SkPoint ray[2]; // points near midpoint on quad, midpoint on cubic in compareQuadCubic() local
1028 if (!this->cubicPerpRay(cubic, quadPts->fMidT, &ray[1], &ray[0], nullptr)) { in compareQuadCubic()
1031 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadCubic()
1045 SkPoint ray[2]; // points near midpoint on quad, midpoint on conic in compareQuadConic() local
1046 this->conicPerpRay(conic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadConic()
1047 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadConic()
1072 SkPoint ray[2]; in compareQuadQuad() local
1073 this->quadPerpRay(quad, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadQuad()
1074 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadQuad()