When the user calls into cairo_copy_path, cairo will convert the path to user coordinates using "cairo_device_to_user". However, the path is stored in *backend* coordinates (converted using the function _cairo_gstate_user_to_backend).
This means that the result of cairo_copy_path is shifted by the device offset of the target device.
When the user calls into cairo_copy_path, cairo will convert the path to user coordinates using "cairo_ device_ to_user" . However, the path is stored in *backend* coordinates (converted using the function _cairo_ gstate_ user_to_ backend) .
This means that the result of cairo_copy_path is shifted by the device offset of the target device.
https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 681475 is an example where this causes troubles.