Re: Massive points drawing, and mouse handling!

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

 



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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux