| 821 | // too. These are used by the FDrawClip() routine below. |
| 822 | |
| 823 | void ClipLesser(int *x1, int *y1, int *x2, int *y2, int s) |
| 824 | { |
| 825 | if (*y2 - *y1) |
| 826 | *x1 -= NMultDiv(*y1 - s, *x2 - *x1, *y2 - *y1); |
| 827 | *y1 = s; |
| 828 | } |
| 829 | |
| 830 | void ClipGreater(int *x1, int *y1, int *x2, int *y2, int s) |
| 831 | { |