Commit graph

2 commits

Author SHA1 Message Date
Andrea Canciani
34612c400d test: Fix clip-device-offset
The test was incorrectly translating the "target" of the context
instead of the "group target" (i.e. the current destination).

"cairo-test-suite -a" runs the tests on similar surfaces created using
cairo_push_group (), thus without this change the device-offset did
not affect the real destination surface.

Fixes clip-device-offset.
2011-02-13 17:34:04 +01:00
Benjamin Otte
ade55037ff [test] Add clip-device-offset
Exercises a bug demonstrated by WebKit with clipping + device offsets.
2009-10-15 14:08:01 +01:00