[cairo-commit] cairo/test .cvsignore, 1.12, 1.13 Makefile.am, 1.26, 1.27 transforms-ref.png, NONE, 1.1 transforms.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Thu Apr 7 10:01:52 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv1819/test

Modified Files:
	.cvsignore Makefile.am 
Added Files:
	transforms-ref.png transforms.c 
Log Message:

        * src/cairo.h: Rework the cairo_matrix_t interface in several ways.
        Expose a struct for cairo_matrix_t.

        Add new function to return current matrix:
                cairo_get_matrix

        Deprecate the following functions (in documentation):
                cairo_matrix_create
                cairo_matrix_destroy
                cairo_matrix_get_affine

        Rename:
                cairo_matrix_set_affine   ->    cairo_matrix_init
                cairo_matrix_set_identity ->    cairo_matrix_init_identity

        Add other new matrix initialization functions:
                cairo_matrix_init_translate
                cairo_matrix_init_scale
                cairo_matrix_init_rotate

        Change return type of almost all cairo_matrix functions from
        cairo_status_t to void.

        * src/cairo-atsui-font.c:
        * src/cairo-ft-font.c:
        * src/cairo-gstate.c:
        * src/cairo-image-surface.c:
        * src/cairo-matrix.c:
        * src/cairo-pattern.c:
        * src/cairo-pdf-surface.c:
        * src/cairo-pen.c:
        * src/cairo-surface.c:
        * src/cairo-win32-font.c:
        * src/cairo-xlib-surface.c:
        * src/cairo.c:
        * src/cairoint.h: Track changes to cairo_matrix_t interface.

        * test/.cvsignore:
        * test/Makefile.am:
        * test/transforms-ref.png:
        * test/transforms.c: Add a test case showing the same path drawn
        under various transforms, (including skews set directly by
        initializing a cairo_matrix_t).


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- .cvsignore	4 Apr 2005 16:47:12 -0000	1.12
+++ .cvsignore	7 Apr 2005 17:01:49 -0000	1.13
@@ -16,6 +16,7 @@
 pixman-rotate
 text-cache-crash
 text-rotate
+transforms
 user-data
 *-out.png
 *-diff.png

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Makefile.am	4 Apr 2005 16:47:12 -0000	1.26
+++ Makefile.am	7 Apr 2005 17:01:49 -0000	1.27
@@ -13,6 +13,7 @@
 pixman-rotate		\
 text-cache-crash	\
 text-rotate		\
+transforms		\
 user-data
 
 # And all new tests go here too. I really don't like having to repeat
@@ -29,7 +30,8 @@
 clip-twice-ref.png		\
 path-data-ref.png		\
 pixman-rotate-ref.png		\
-romedalen.png
+romedalen.png			\
+transforms-ref.png
 
 # Once we can draw the text-rotate.c test case correctly, we should
 # create and add text-rotate-ref.png to the list of reference PNGs.
@@ -86,6 +88,7 @@
 pixman_rotate_LDADD = $(LDADDS)
 text_cache_crash_LDADD = $(LDADDS)
 text_rotate_LDADD = $(LDADDS)
+transforms_LDADD = $(LDADDS)
 user_data_LDADD = $(LDADDS)
 
 noinst_PROGRAMS = imagediff

--- NEW FILE: transforms-ref.png ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: transforms.c ---
(This appears to be a binary file; contents omitted.)




More information about the cairo-commit mailing list