[cairo] Scatter plot optimization?

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Thu Mar 4 09:53:21 PST 2010


Le jeudi 04 mars 2010 à 17:41 +0100, Andrej Prsa a écrit : 
> Dear Cairists,
> 
> I have a gtk drawing area to which I am drawing with cairo. The plot
> consists of axes, axis labels, and scattered data -- 10,000+ data
> points. 

You may want to have a look at what we've done in libgoffice (gnumeric's
charting engine):

http://git.gnome.org/browse/goffice/tree/plugins/plot_xy/gog-xy.c#n1429
http://git.gnome.org/browse/goffice/tree/goffice/graph/gog-renderer.c#n741
http://git.gnome.org/browse/goffice/tree/goffice/utils/go-marker.c#n292

We take care to use images for the screen rendering, but vector surface
when exporting to pdf or svg.

Emmanuel.



More information about the cairo mailing list