lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: Massive points drawing, and mouse handling!
- Date: Sat, 07 Jun 2008 08:43:19 -0400
- From: Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx>
- Subject: ***BOGO*** Re: Massive points drawing, and mouse handling!
On Sat, 2008-06-07 at 12:06 +0200, Matteo Landi wrote:
> Hi all,
> i'm writing a small application using gtk which tries to plot the
> mandelbrot set.
> Because of i have to analyse each pixel of my pixmap, my program gets very slow.
pixmaps live on the "server side", so doing this is very slow.
you should draw into a GdkPixbuf, which lives inside your program, and
when drawing/analysis/whatever is complete, draw the pixbuf into a
window. it will be much faster.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list