7 May 2011 03:40
Clipping working - now can we release?
OK .. maybe want a little testing first I guess. It took a while as I had some sort of mental block about how it worked in cairo (simple, just like stroke), and also preventing me from understanding it in sb/nb (simple, just pass in the path to clip to) .. not sure why I had so much trouble but there you go. + The explanation I should've put in the bug report about how to add it (or anything)(if I hadn't had said mental block). The drawqueue is just a load of functions that get passed a cairo context - you create a function, something like render_closure, that returns a render() function... this gets called later when rendering happens... see ClippingPath .. really not much in it at all. Seeing the old shoebot implementation, and actually reading cairo and nodebox docs was all that was needed all along ;) Anyway.. .point is - clipping seems to be working ... S++
I see a lot of fixed stuff, e.g. textpath works like Nodebox now! And
wow, Shoebot is *fast* now :-D
I found a couple of issues though: for some reason the Gedit plugin
doesn't load the script when I do "Run script". It will do for today's
presentation at the Montréal Python user group, but I'll try and debug
this asap, it's quite the blocker.
Save as SVG from the GTK window is not working either. I'll look into
this as well. Outputting SVG through the commandline is working fine
though.
For now I'll just file bug reports.
Thanks again Stuart! We're shaping up nicely for a release
RSS Feed