delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/17/05:07:52

Message-ID: <D1FB30BBA491D1118E6D006097BCAE390B91D5@Probe-nt-2a.Probe.co.uk>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019