CLIM mail archive

[Prev][Next][Index][Thread]

draw-line* limitations



This by-hand form of clipping is incorrect because it doesn't preserver
slope.  Suppose the draw-line were
	(draw-line* m 0 0 1e6 1e10)
This is a nearly vertical line, but your naive clipping will turn it
into a 45 degree diagonal line.  This is the real reason it's a pain in
the neck.  I don't have any good solutions off the top of my head, other
than to say that CLIM needs to be able to fall back on some graphics
rendering code in Lisp in order to clip this correctly.  Exactly where
and how that is to be done I can't address at this time.

0,,

Follow-Ups:

Main Index | Thread Index