Message-ID: From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Clipping a line to a rect. Need help _fast_! Date: Tue, 17 Feb 1998 10:05:37 -0000 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk Jeff Weeks writes: > So, if anybody has some code on how to clip any line, to be constrained > withen a rectangular area, PLEASE send it my way. An excellent discussion of various clipping algorithms, both for lines and polygons, can be found in the book "Computer Graphics, Principles and Practice", by Foley & Van Damme. Shawn Hargreaves.