Stuart Axon | 7 May 2011 03:40
Picon
Favicon

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++
ricardo lafuente | 9 May 2011 22:52

Re: Clipping working - now can we release?

I'm working with the dev version, and have to say this is totally 
awesome work :-)

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 :-)

On 05/07/2011 02:40 AM, Stuart Axon wrote:
> 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).
>
(Continue reading)

Stuart Axon | 10 May 2011 01:42
Picon
Favicon

Re: Clipping working - now can we release?

> From: ricardo lafuente <r <at> sollec.org>

> To: shoebot-devel@...
> Sent: Mon, May 9, 2011 9:52:21 PM
> Subject: Re: [shoebot-devel] Clipping working - now can we release?
> 
> I'm working with the dev version, and have to say this is totally 
> awesome  work :-)
Cheers - as I'm coming back to the code after a few months it all seems
really dodgy (my code that is)!

> 
> I see a lot of fixed stuff, e.g. textpath works like Nodebox  now! And 
> wow, Shoebot is *fast* now :-D
Most of this is thanks to nodebox-gl, stuff brought across

> 
> 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.
> 
Ah, I need to test this more - it worked for some brief testing, is not 
reloading
it or something?

> 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.
> 
(Continue reading)


Gmane