summaryrefslogtreecommitdiff
path: root/test/fallback-resolution.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2010-11-21 23:41:33 +1030
committerAdrian Johnson <ajohnson@redneon.com>2010-11-28 03:39:05 +1030
commitf85af7fe8d92f5ac304d742fcbfdaac512bace33 (patch)
tree8756d2691dd80ea41d06dd7a55bede52556fd0f6 /test/fallback-resolution.c
parent126108a6ac5aa5e615071e0cbd1901e5a5de3ca6 (diff)
downloadcairo-f85af7fe8d92f5ac304d742fcbfdaac512bace33.tar.gz
Change fallback resolution test to use resolutions in multiples of 72
With integer aligned clipping the test output has no seams.
Diffstat (limited to 'test/fallback-resolution.c')
-rw-r--r--test/fallback-resolution.c26
1 files changed, 9 insertions, 17 deletions
diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c
index c122dea85..1d05973f7 100644
--- a/test/fallback-resolution.c
+++ b/test/fallback-resolution.c
@@ -328,27 +328,19 @@ preamble (cairo_test_context_t *ctx)
struct {
double x, y;
} ppi[] = {
- { 600, 600 },
- { 600, 72 },
+ { 576, 576 },
+ { 576, 72 },
- { 300, 300 },
- { 300, 72 },
+ { 288, 288 },
+ { 288, 72 },
- { 150, 150 },
- { 150, 72 },
+ { 144, 144 },
+ { 144, 72 },
- { 75, 75 },
- { 75, 72 },
-
- { 72, 600 },
- { 72, 300 },
- { 72, 150 },
- { 72, 75 },
+ { 72, 576 },
+ { 72, 288 },
+ { 72, 144 },
{ 72, 72 },
- { 72, 37.5 },
-
- { 37.5, 72 },
- { 37.5, 37.5 },
};
unsigned int i;
int n, num_ppi;