[cairo] Re: Goocanvas: trivial patch, and a request for a "cairo" item

Damon Chaplin damon at karuna.uklinux.net
Wed Nov 29 13:03:17 PST 2006


On Wed, 2006-11-29 at 08:43 -0800, Carl Worth wrote:
> On Wed, 29 Nov 2006 15:34:15 +0000, Damon Chaplin wrote:
> > Yes, I still use cairo's cvs. Though I've been working on a major
> > rewrite of GooCanvas lately which I haven't committed yet.
> 
> OK. One question I forgot to ask is what's the appropriate place to
> talk about goocanvas. If you don't have anything more specific, we can
> certainly use the cairo list, (which I've copied here). But let me
> know if you've got something or if you'd prefer to use a GNOME list or
> whatever.
> 
> Similarly, I couldn't find any good pointer on the web to where the
> source lived. If you need real hosting, please feel free to use
> cairographics.org. You can put releases up there as well, (anything
> that frees good code from sourceforge is an improvement).

Too late! It's already on sourceforge:
  http://sourceforge.net/projects/goocanvas

There's a mailing list there if you want to use that, but the cairo list
is OK with me as well.


> > You can commit the fix if you like. (I have the same fix here, I just
> > forgot to commit it.)
> 
> Committed. (Wow, that was the first cvs commit I made in a very long
> time.) Have you looked at git yet?

No, not yet. I've been pretty happy with cvs to be honest (I don't
really do much branching & merging). 


> > I'm afraid GooCanvas has a more object-oriented design - you need to
> > create new classes for each new type of item.
> 
> That's fine too. As you mentioned, I could probably write my program
> by simply creating one new class and then using it for all my objects
> via callbacks.
> 
> So I guess all I was missing was an easy example to copy showing how
> to create that new class. Where should I look for that?

I've just added a simple demo item in demo/demo-item.[hc]

Unfortunately there's quite a bit of boilerplate code in the simple
item. Maybe we could avoid this somehow in future, but I'm not sure the
best way of doing that.

Damon




More information about the cairo mailing list