[cairo] Crash with very large image surface
Federico Mena Quintero
federico at ximian.com
Tue May 23 12:28:26 PDT 2006
On Tue, 2006-05-23 at 10:32 -0400, Laszlo Pandy wrote:
> How can we use a matrix so shift the image surface? We want to keep the
> waveform cached so we don't have to redraw it all the time. Is there any way
> we can show only part of the cached image without using
> cairo_set_source_surface() and cairo_paint() , which causes a crash?
Just paint the area you need; don't paint the whole waveform if you are
zoomed in.
If redrawing is slow, fix that, instead of patching a symptom.
Federico
More information about the cairo
mailing list