Massive points drawing, and mouse handling!



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.
I would like to know if it is correct to call each time the
draw_point() function, or maybe
there is a faster way to do that.
Next, i would like to know how to get noticed about mouse movements
while one button is
pressed (something like drag and drop): i would like it to create a
rectangle selection
a zoom effect
Thanks for the attention
M@


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