Christopher Barker wrote: > In the long run, yes, but in the short run, it sounds like one could > make a DrawObject that used fancy-pants GraphicsContext drawing, and > insert it into the current FloatCanvas with no changes required. > > Does someone want to give this a try? Ive got some other deadlines > looming...
I started poking into this last night. It looks doable. However, unfortunately for the OP, it's going to be a trick to get a line to fade out, as you can make a gradient brush, but not a gradient pen, so you'd need to make a skinny polygon instead of a line (so there is something to fill with the brush). I started a bit of test code. It's in SVN: Tests/GCTest.py Tests/AlphaLine.py -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
