[cairo-commit] test/composite-integer-translate-over.c test/composite-integer-translate-over-pdf-argb32-ref.png test/composite-integer-translate-over-ref.png test/composite-integer-translate-over-svg-ref.png

Vladimir Vukicevic vladimir at kemper.freedesktop.org
Fri Sep 29 14:44:18 PDT 2006


 dev/null                                                 |binary
 test/composite-integer-translate-over-pdf-argb32-ref.png |    0 
 test/composite-integer-translate-over-ref.png            |binary
 test/composite-integer-translate-over-svg-ref.png        |    0 
 test/composite-integer-translate-over.c                  |   27 +++++++++++++--
 5 files changed, 25 insertions(+), 2 deletions(-)

New commits:
diff-tree cd6b44e9c924d230c9647e63553198a947f53307 (from b05400b5590ab0303ef5802ac4952633e2b14d18)
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Fri Sep 29 14:44:00 2006 -0700

    [test] Fix composite-integer-translate-over test
    
    This test wasn't translating by an integer, but instead by 5.5.  Fixed
    test and reference image.

diff --git a/test/composite-integer-translate-over-pdf-argb32-ref.png b/test/composite-integer-translate-over-pdf-argb32-ref.png
deleted file mode 100644
index 821e38b..0000000
Binary files a/test/composite-integer-translate-over-pdf-argb32-ref.png and /dev/null differ
diff --git a/test/composite-integer-translate-over-ref.png b/test/composite-integer-translate-over-ref.png
index 1fbaaaa..630d993 100644
Binary files a/test/composite-integer-translate-over-ref.png and b/test/composite-integer-translate-over-ref.png differ
diff --git a/test/composite-integer-translate-over-svg-ref.png b/test/composite-integer-translate-over-svg-ref.png
deleted file mode 100644
index 2a0212e..0000000
Binary files a/test/composite-integer-translate-over-svg-ref.png and /dev/null differ
diff --git a/test/composite-integer-translate-over.c b/test/composite-integer-translate-over.c
index 9c45621..2eac588 100644
--- a/test/composite-integer-translate-over.c
+++ b/test/composite-integer-translate-over.c
@@ -1,10 +1,33 @@
+/*
+ * Copyright © 2006 Mozilla Corporation
+ *
+ * Permission to use, copy, modify, distribute, and sell this software
+ * and its documentation for any purpose is hereby granted without
+ * fee, provided that the above copyright notice appear in all copies
+ * and that both that copyright notice and this permission notice
+ * appear in supporting documentation, and that the name of
+ * Mozilla Corporation not be used in advertising or publicity pertaining to
+ * distribution of the software without specific, written prior
+ * permission. Mozilla Corporation makes no representations about the
+ * suitability of this software for any purpose.  It is provided "as
+ * is" without express or implied warranty.
+ *
+ * MOZILLA CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+ * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS, IN NO EVENT SHALL MOZILLA CORPORATION BE LIABLE FOR ANY SPECIAL,
+ * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
+ * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Author: Vladimir Vukicevic <vladimir at pobox.com>
+ */
 #include <math.h>
 #include "cairo-test.h"
 #include <stdio.h>
 
 #define SIZE 100
-#define OFFSET 5.5
-#define SCALE 1.5
+#define OFFSET 10
 const char	png_filename[]	= "romedalen.png";
 
 static cairo_test_draw_function_t draw;


More information about the cairo-commit mailing list