[cairo-bugs] [Bug 35738] New: Recording replay clipping output (1.11.2 & latest git)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 28 05:08:28 PDT 2011


           Summary: Recording replay clipping output (1.11.2 & latest git)
           Product: cairo
           Version: 1.10.3
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: ross.alexander at emea.nec.com
         QAContact: cairo-bugs at cairographics.org

Created an attachment (id=44932)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=44932)
Contains source C program and outputs.

I create a recording surface that has an initial translate (tx, ty) then draws
a rectangle.  When I play this back with cairo_set_source_surface(recording,
-tx, -ty) & cairo_paint() the box is drawn at the original but it cropped to
(width - tx, height - ty).

This seems to be the case for PDF, PS & xlib surfaces.  I have written a C
program to reproduce this (uses gtk+-3.0 for xlib surface but I can write a
simple xlib interface if necessary.  I have added an xml and svg output for one
of the replays but I'm getting very odd output in the svg.

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