Re: Massive points drawing, and mouse handling!
- From: Paul Davis <paul linuxaudiosystems com>
- To: Matteo Landi <matteo landi email it>
- Cc: gtk-list gnome org
- Subject: Re: Massive points drawing, and mouse handling!
- Date: Sat, 07 Jun 2008 08:43:19 -0400
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]