Re: Cairo drawing



On zo, 2005-11-06 at 13:34 +0000, Stephen Kennedy wrote:
> Hi Stéphan, that sournds interesting! I'm using debian and pygtk2.6
> for development, so haven't seen much of cario/gtk2.8. Does using cairo
> directly gain anything (ie speed or AA) instead of gdk? Do the gdk
> methods not just forward to cairo internally?
> 
> Stephen.

Hi Stephen,

I don't know about speed, but AA is definitely there now. It looks nice
on the linkmap, but I've disabled it for the diffmaps on the sides. It
didn't work well for those tiny rectangles.

GDK doesn't forward to Cairo, afaik. Cairo also has it's own functions
for drawing curves, so the 'gain' function and some other code to smooth
them in GDK are now gone.

So far, I've only completed the two/three-way file diffing. I've blogged
about it (with a screenshot) here:
http://stephan.kochen.nl/blog/2005/11/04/cairoifying-meld/

I've installed an experimental PyGTK package a developer asked me to
test, but it broke meld unfortunately. I'm going to see if I can do
something about it, revert it if it can't be fixed for some reason,
because I really like messing with Cairo and Meld, and I'd like to
finish this soon. :)

	Stéphan

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]