Forum: Ruby-Gnome 2 cairo vs drawable

Posted by Dobai-Pataky Balint (Guest)
on 2009-11-17 15:13
(Received via mailing list)
hi,

which one is faster?
on a Gdk::Drawable draw with theese functions? :
http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=view&p=tut-gtk2-agtkw-draww&key=draw
or create a  cairo context and draw on that with cairo?

in my situation i have a large Gtk::Fixed - about 3500X4500px, 300
rectangles, 500 curves - inside a ScrolledWindow, but its slow on 
expose.
i tried double buffering it, but didn't help.

i'm open to any suggestion.

thanks
Balint
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.