Recording replay clipping output (1.11.2 & latest git)
Submitted by Ross Alexander
Assigned to Carl Worth @cworth
Description
Created attachment 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.
Attachment 44932, "Contains source C program and outputs.":
c-clip.tar.bz2
Version: 1.10.3