Searched refs:xy_index (Results 1 – 2 of 2) sorted by relevance
46 static int xy_index(SkOpRayDir dir) { in xy_index() function51 return (&pt.fX)[xy_index(dir)]; in pt_xy()55 return (&pt.fX)[!xy_index(dir)]; in pt_yx()59 return (&v.fX)[xy_index(dir)]; in pt_dxdy()63 return (&v.fX)[!xy_index(dir)]; in pt_dydx()71 int i = !xy_index(dir); in sideways_overlap()133 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()267 SkTQSort(sorted.begin(), sorted.end() - 1, xy_index(dir) in sortableTop()
47 static int xy_index(SkOpRayDir dir) { in xy_index() function52 return (&pt.fX)[xy_index(dir)]; in pt_xy()56 return (&pt.fX)[!xy_index(dir)]; in pt_yx()60 return (&v.fX)[xy_index(dir)]; in pt_dxdy()64 return (&v.fX)[!xy_index(dir)]; in pt_dydx()72 int i = !xy_index(dir); in sideways_overlap()134 int roots = (*CurveIntercept[fVerb * 2 + xy_index(dir)])(fPts, fWeight, baseYX, tVals); in rayCheck()269 xy_index(dir) ? less_than(dir) ? hit_compare_y : reverse_hit_compare_y in sortableTop()