[cairo] [1.10.0] Win32 redrawing issues (regression?)
mkbosmans at gmail.com
Sun Sep 12 09:59:32 PDT 2010
2010/9/12 Tim Teulings <tim at framstag.com>:
>> Previously cairo_surface_flush was called on every cairo_destroy, but
>> that behaviour was changed in 1.9.8 with this commit:
> As far as I know (and the documentation says), it is only necessary if I (in
> this case) use Win32 APIs to draw directly into the Window. If you look at
> the example code as part of my bug ticket this is not the case.
Yes indeed, you are seeing another issue. It was just my first thought
because I encoutered it last week.
> For me it looks like the clipping rectangles are wrong. I did however some
> "on top of the cairo API" tests to correctly set clipping rectangles and fix
> possibly wrong clipping - but I failed.
> I assume the bug can be worked around by doing Win32 API bit clipping from
> the underlying window/pixmap handle to the target window (which possibly
> then requires calls to flush).
I've never encountered these clipping problems before though. But
that's probably because I use Gtk for all my windowing needs and thus
never need to deal with the native win32 api.
More information about the cairo