line and polygon clipping algorithm in computer graphics