fanboy
Group: Members
Posts: 10
Joined: Aug. 2005 |
|
Posted: Aug. 25 2005,17:41 |
|
Quote (RoGuE_StreaK @ Aug. 25 2005,04:43) | Ming huh? Anyone know if a GUI swf producer is in the works? Maybe a combo of a ming type thing and the likes of inkscape... |
There is an svg2swf script but it doesn't work at all for me. The script is old but it might be fun to rewrite it. When I have used inkscape, it saves the curves as cubic beziers while swf and ming want quadratic beziers. There might be an easy way to convert between them, but it is not obvious to me how. In any case it would be an approximation. It should be easy enough to write a function in python that translates a cubic bezier curve of 4 points (2 end points and 2 control points) into 2 curves with 2 end points and 1 control point each. I see that somewhere hidden in ming is a "drawCubic()" function so that might solve things.
Aside from that the CVS version of ming I downloaded isn't all there as far as the python part goes. That could be me because I don't know that much actionscript (which ming is supposedly good at). I hope it is me because then I would have a medium sized, right now around 200Megs, system that lets me compile almost anything I need (python, gcc, g++, the latest perl, tcltk, php, and many libraries).
|