midpoint line clipping algorithm in computer graphics