[cairo-bugs] [Bug 54732] New: cairo_copy_path converts device to user instead of backend to user
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 10 06:37:18 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54732
Bug #: 54732
Summary: cairo_copy_path converts device to user instead of
backend to user
Classification: Unclassified
Product: cairo
Version: 1.12.2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: benjamin at sipsolutions.net
QAContact: cairo-bugs at cairographics.org
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.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the cairo-bugs
mailing list