[cairo-bugs] [Bug 15389] New: Offsets when using part of a source image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 7 07:50:30 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15389

           Summary: Offsets when using part of a source image
           Product: cairo
           Version: 1.5.17
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: otaylor at redhat.com
         QAContact: cairo-bugs at cairographics.org


As promised in bug 15349:

_cairo_pattern_acquire_surface_for_surface() sometimes will acquire
only part of the source surface. If this part doesn't start at 0,0,
howevever, there is no adjustment to attr->matrix or attr->x/y offset.

That has to be a bug.

First step would be coming up with a test case. It might be as simple
as drawing an image surface to a native surface at a point with
x,y < 0. (Wouldn't someone have noticed, though???) For a final test
case you'd want to test with a couple of different transforms ..
integer offset, 90 degree rotation, arbitrary rotaton.


-- 
Configure bugmail: http://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