[cairo] Problem drawing pixbuf

Krzysztof Kosiński tweenk.pl at gmail.com
Thu Oct 14 15:30:13 PDT 2010


W dniu 13 października 2010 02:42 użytkownik Tobias Hoffmann
<lcairo-list at thax.hardliners.org> napisał:
> Both ways (i.e. in expose and direct redrawing) happen in my application,
> both lead to the same result. (IIRC I've tried direct drawing w/ and w/o
> double buffering.)

I'm taking wild guesses, but maybe using a clipping region would help
to get rid of the black borders?

Additionally, where are you getting your Cairo context from? This
might be important. In particular, you can't store and reuse contexts
created during the expose event.

Regards, Krzysztof


More information about the cairo mailing list