Lines Matching refs:ray
239 ResultType strokeCloseEnough(const SkPoint stroke[3], const SkPoint ray[2],
997 const SkPoint ray[2], SkQuadConstruct* quadPts STROKER_DEBUG_PARAMS(int depth)) const { in strokeCloseEnough()
1000 if (points_within_dist(ray[0], strokeMid, fInvResScale)) { // if the difference is small in strokeCloseEnough()
1010 ray[0].fX, ray[0].fY, strokeMid.fX, strokeMid.fY, fInvResScale); in strokeCloseEnough()
1014 if (!ptInQuadBounds(stroke, ray[0])) { // if far, subdivide in strokeCloseEnough()
1018 ray[0].fX, ray[0].fY); in strokeCloseEnough()
1022 int rootCount = intersect_quad_ray(ray, stroke, roots); in strokeCloseEnough()
1029 if (points_within_dist(ray[0], quadPt, error)) { // if the difference is small, we're done in strokeCloseEnough()
1039 ray[0].fX, ray[0].fY, quadPt.fX, quadPt.fY, error); in strokeCloseEnough()
1055 SkPoint ray[2]; // points near midpoint on quad, midpoint on cubic in compareQuadCubic() local
1056 this->cubicPerpRay(cubic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadCubic()
1057 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadCubic()
1071 SkPoint ray[2]; // points near midpoint on quad, midpoint on conic in compareQuadConic() local
1072 this->conicPerpRay(conic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadConic()
1073 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadConic()
1098 SkPoint ray[2]; in compareQuadQuad() local
1099 this->quadPerpRay(quad, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadQuad()
1100 return this->strokeCloseEnough(quadPts->fQuad, ray, quadPts in compareQuadQuad()