summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-02-27 19:28:37 -0500
committerBehdad Esfahbod <behdad@behdad.org>2007-02-27 19:28:37 -0500
commit153465bfe5346b9e1ebdbd4f794bd11868ee7458 (patch)
tree7fa8ce3e4e97f6f6ae903bda1a0a650f856246b8
parente2ce27db302a185e6e80ead699c01e43921939ca (diff)
[test] Add ref images for new tests
-rw-r--r--test/surface-pattern-scale-down-pdf-argb32-ref.pngbin0 -> 1565 bytes
-rw-r--r--test/surface-pattern-scale-down-ps-argb32-ref.pngbin0 -> 1400 bytes
-rw-r--r--test/surface-pattern-scale-down-ref.pngbin0 -> 1784 bytes
-rw-r--r--test/surface-pattern-scale-down.c3
-rw-r--r--test/surface-pattern-scale-up-pdf-argb32-ref.pngbin0 -> 3886 bytes
-rw-r--r--test/surface-pattern-scale-up-ps-argb32-ref.pngbin0 -> 1011 bytes
-rw-r--r--test/surface-pattern-scale-up-ref.pngbin0 -> 3825 bytes
-rw-r--r--test/surface-pattern-scale-up.c3
-rw-r--r--test/surface-pattern.c3
9 files changed, 3 insertions, 6 deletions
diff --git a/test/surface-pattern-scale-down-pdf-argb32-ref.png b/test/surface-pattern-scale-down-pdf-argb32-ref.png
new file mode 100644
index 00000000..9f27687c
--- /dev/null
+++ b/test/surface-pattern-scale-down-pdf-argb32-ref.png
Binary files differ
diff --git a/test/surface-pattern-scale-down-ps-argb32-ref.png b/test/surface-pattern-scale-down-ps-argb32-ref.png
new file mode 100644
index 00000000..1f0b3e05
--- /dev/null
+++ b/test/surface-pattern-scale-down-ps-argb32-ref.png
Binary files differ
diff --git a/test/surface-pattern-scale-down-ref.png b/test/surface-pattern-scale-down-ref.png
new file mode 100644
index 00000000..b7255ef7
--- /dev/null
+++ b/test/surface-pattern-scale-down-ref.png
Binary files differ
diff --git a/test/surface-pattern-scale-down.c b/test/surface-pattern-scale-down.c
index db5b8611..314f852d 100644
--- a/test/surface-pattern-scale-down.c
+++ b/test/surface-pattern-scale-down.c
@@ -21,8 +21,7 @@ draw (cairo_t *cr, int width, int height)
int surface_size = 300;
cairo_set_source_rgb (cr, 0, 0, 0);
- cairo_rectangle (cr, 0, 0, SIZE, SIZE);
- cairo_fill (cr);
+ cairo_paint (cr);
/* Create an image surface with my favorite four colors in each
* quadrant. */
diff --git a/test/surface-pattern-scale-up-pdf-argb32-ref.png b/test/surface-pattern-scale-up-pdf-argb32-ref.png
new file mode 100644
index 00000000..c277a0f5
--- /dev/null
+++ b/test/surface-pattern-scale-up-pdf-argb32-ref.png
Binary files differ
diff --git a/test/surface-pattern-scale-up-ps-argb32-ref.png b/test/surface-pattern-scale-up-ps-argb32-ref.png
new file mode 100644
index 00000000..dc9f8d26
--- /dev/null
+++ b/test/surface-pattern-scale-up-ps-argb32-ref.png
Binary files differ
diff --git a/test/surface-pattern-scale-up-ref.png b/test/surface-pattern-scale-up-ref.png
new file mode 100644
index 00000000..32d7bdf3
--- /dev/null
+++ b/test/surface-pattern-scale-up-ref.png
Binary files differ
diff --git a/test/surface-pattern-scale-up.c b/test/surface-pattern-scale-up.c
index 921e1a36..d1f0e41a 100644
--- a/test/surface-pattern-scale-up.c
+++ b/test/surface-pattern-scale-up.c
@@ -21,8 +21,7 @@ draw (cairo_t *cr, int width, int height)
int surface_size = 6;
cairo_set_source_rgb (cr, 0, 0, 0);
- cairo_rectangle (cr, 0, 0, SIZE, SIZE);
- cairo_fill (cr);
+ cairo_paint (cr);
/* Create an image surface with my favorite four colors in each
* quadrant. */
diff --git a/test/surface-pattern.c b/test/surface-pattern.c
index 42aca27f..51b638db 100644
--- a/test/surface-pattern.c
+++ b/test/surface-pattern.c
@@ -21,8 +21,7 @@ draw (cairo_t *cr, int width, int height)
int surface_size = 6;
cairo_set_source_rgb (cr, 0, 0, 0);
- cairo_rectangle (cr, 0, 0, SIZE, SIZE);
- cairo_fill (cr);
+ cairo_paint (cr);
/* Create an image surface with my favorite four colors in each
* quadrant. */