On Wed, Aug 17, 2005 at 09:45:38PM +0200, Hans-Bernhard Broeker wrote:
> Ethan Merritt wrote:
> >On Wednesday 17 August 2005 11:06 am, Hans-Bernhard Broeker wrote:
> >>Not really. It's the same problem in a different dress. Terminal
> >>coordinates are really only valid in some interval. That interval=20
> >>always has one endpoint at zero, by design, so it makes sense for the=
> >>coordinates to be unsigned. It being unsigned even helps generate=20
> >>faster code: a single test for (x < term->xmax) will detect points th=
> >>are off to the right or the left.
> >Detect, yes. But it does not allow you to clip the line segment.
> That's OK --- clipping should not be done in the terminal driver anyway.
Hum clipping, for instance, an image involves a certain amount of
work. Should that be done in the terminal driver ?
Get latest updates about Open Source Projects, Conferences and News.