[cairo] Not updating screen
kalle.vahlman at gmail.com
Tue Aug 28 05:24:15 PDT 2007
2007/8/28, Jose Hevia <jose.francisco.hevia at gmail.com>:
> I'm drawing a map with cairo (200 polygons), I use cairo_line_to and
> cairo_fill and/or cairo_stroke. It works.
> The problem, it's very slow because cairo updates the screen every
> time I use cairo_fill and cairo_stroke (that's 200 times!!!).
> So, how could I make cairo wait until I want him to refresh the
> screen. I think this has to be very easy, but I didn't found any info
> (maybe I don't know what to search).
If your windowing system / whatever doesn't provide double-buffering,
cairo has the notion of "groups" that you can use for that.
for more information.
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
More information about the cairo