[cairo] cairo_win32_surface_create api change

Stuart Parmenter stuartp at gmail.com
Tue Nov 29 17:10:11 PST 2005


I would like to change the cairo_win32_surface_create to take a width
and height so that get_extents can function properly.  All of the
other surface creation functions take widths and heights.  We need to
do this to pass all the tests on Windows, specifically self-copy and
trap-clip.

Carl brought up the issue of compatibility, but leaving the old API
there leaves us with pretty broken clipping on Windows.  This change
should be trivial for callers to fix and I don't know of any Windows
apps that actually use/ship with cairo at this point.

We could leave the old API in and bandaid aorund it, but that seems
like a bad solution long term as it will only lead to people seeing
different strange problems later on and not being able to explain
them.


More information about the cairo mailing list