<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Dec 12, 2006, at 8:13 AM, Edwin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">I'm actually thinking about using make_contour and then just t.fill to <SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">fill the resulting area. I think this should work well</FONT></P> </BLOCKQUOTE></DIV><BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hi Edwin,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Unfortunately, you may not be happy with the results if you do a fill with the contours.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've used the "industry standard" contour finding algorithm, and it seems to work okay for stroked contours. But if you take a very close-up look at the contours you'll see that they are doing goofy things with lots of tiny zigs and zags and a large number of breaks, none of which are really necessary. (Try printing out the number of gaps in a typical contour -- you'll be amazed!)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you can suggest a better contour finding algorithm, we could give it a try. But I'm afraid this is one of those problems that turns out to be a lot more difficult that it looks at first.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here's the link to a description of the current routine:</DIV><DIV><A href="http://local.wasp.uwa.edu.au/~pbourke/papers/conrec/">http://local.wasp.uwa.edu.au/~pbourke/papers/conrec/</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--Bill</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>