Searched refs:y0 (Results 1 – 2 of 2) sorted by relevance
7 $a->x0->y0 = 'a';10 $a->x0->y0 = 'b';19 ["y0"]=>
714 static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { in clip_1d() argument721 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ in clip_1d()723 *y0 -= (int)(m * *x0); in clip_1d()736 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ in clip_1d()737 *y0 += (int)(m * (maxdim - *x0)); /* adjust so point is on the right boundary */ in clip_1d()748 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ in clip_1d()754 m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ in clip_1d()
Completed in 12 milliseconds