From: Maurice L. <mj...@ga...> - 2003-08-23 23:02:04
|
Maurice LeBrun writes: > Update of /cvsroot/plplot/plplot/src > In directory sc8-pr-cvs1:/tmp/cvs-serv438 > > Modified Files: > plline.c > Log Message: > Correctly treat the case where one or two corners are encircled by the polygon > fill. I gave up on this problem 9 years ago but it's actually not that bad. > A good test case: run "x16c -dev tk", zoom in on a smallish region, then start > panning around. An incorrectly clipped region at one of the corners should > soon appear. This change fixes most occurances of that. > > Still todo: handle the encircling Exited my editor prematurely. Still need to handle the case of 3 corners encircled; also I think the 2 & 4 corner cases aren't quite right yet. -- Maurice LeBrun Lightspeed Semiconductor Corp |