Re: Rendering lines

2009-04-13 Thread jcupitt
2009/4/13 Paolo pra...@gmail.com: I'm drawing lines into GtkDrawingArea through gdk_draw_line function. The results is good, but not enough. How can I increase the rendering? Do you mean make it faster'? You could try: - disable gtk's automatic double buffering - try another X driver (there's

Re: Rendering lines

2009-04-13 Thread Dov Grobgeld
gdk_draw_line() is deprecated. Use cairo instead. Regards, Dov 2009/4/13 Paolo pra...@gmail.com Hi! I'm drawing lines into GtkDrawingArea through gdk_draw_line function. The results is good, but not enough. How can I increase the rendering? ___

Re: Rendering lines

2009-04-13 Thread Dov Grobgeld
Slow or fast is obviously application dependent. The original poster didn't complain about speed... The most important thing is never to send to the rendering pipeline data that will not be shown. E.g. in a GIS system if you are zoomed out you don't want to draw small features. And you don't want