Lines from 688 to 700: void savebounds(double x, double y) { if (x < leftpoint) leftpoint = x; if (x > rightpoint) rightpoint = x; if (y < toppoint) toppoint = y; if (y > bottompoint) bottompoint = y; }