diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-12-16 22:39:09 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-01-02 18:31:50 +0100 |
commit | 7b188f852ef502306c8bd0a72ee3857b5f29e724 (patch) | |
tree | 187c5d46b1ca049a3b0be39e83dc09a26fe317a1 | |
parent | 51594d9787905618de608a367c3a5fc0544c52e3 (diff) |
test: Make huge-* test gradients not within pixed_fixed_t range
Cairo represents gradients coordinate with 24.8 fixed point precision,
but pixman uses 16.16 fixed point coordinates.
This shows that cairo is currently unable to handle gradients with
coordinates which are valid for cairo but not for pixman.
-rw-r--r-- | test/huge-linear.c | 2 | ||||
-rw-r--r-- | test/huge-linear.image16.ref.png | bin | 1542 -> 1542 bytes | |||
-rw-r--r-- | test/huge-radial.c | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/test/huge-linear.c b/test/huge-linear.c index e57d29977..3d49c2e47 100644 --- a/test/huge-linear.c +++ b/test/huge-linear.c @@ -27,7 +27,7 @@ #include "cairo-test.h" /* set this to 0.1 to make this test work */ -#define FACTOR 1 +#define FACTOR 10 /* XXX poppler-cairo doesn't handle gradients very well... */ diff --git a/test/huge-linear.image16.ref.png b/test/huge-linear.image16.ref.png Binary files differindex 30297b9e6..56dc58aca 100644 --- a/test/huge-linear.image16.ref.png +++ b/test/huge-linear.image16.ref.png diff --git a/test/huge-radial.c b/test/huge-radial.c index 73562445d..a7b50f382 100644 --- a/test/huge-radial.c +++ b/test/huge-radial.c @@ -29,7 +29,7 @@ #include "cairo-test.h" /* set this to 0.1 to make this test work */ -#define FACTOR 1 +#define FACTOR 10 /* XXX poppler-cairo doesn't handle gradients very well... */ |