[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

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

[Home]     [Foundations of GTK+ Development]     [Yosemite News]    [Yosemite Photos]    [Yosemite Book Store]     [PDAs]     [Gimp's Home]     [Epson FAQ]     [Steve's Art]

Add to Google Powered by Linux