[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
- Previous message: [cairo-commit] cairo ChangeLog,1.473,1.474 TODO,1.41,1.42
- Next message: [cairo-commit] cairo/src cairo-atsui-font.c, 1.6,
1.7 cairo-ft-font.c, 1.52, 1.53 cairo-gstate.c, 1.102,
1.103 cairo-image-surface.c, 1.33, 1.34 cairo-matrix.c, 1.21,
1.22 cairo-pattern.c, 1.28, 1.29 cairo-pdf-surface.c, 1.24,
1.25 cairo-pen.c, 1.22, 1.23 cairo-surface.c, 1.51,
1.52 cairo-win32-font.c, 1.11, 1.12 cairo-xlib-surface.c, 1.55,
1.56 cairo.c, 1.71, 1.72 cairo.h, 1.91, 1.92 cairoint.h, 1.117,
1.118
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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.)
- Previous message: [cairo-commit] cairo ChangeLog,1.473,1.474 TODO,1.41,1.42
- Next message: [cairo-commit] cairo/src cairo-atsui-font.c, 1.6,
1.7 cairo-ft-font.c, 1.52, 1.53 cairo-gstate.c, 1.102,
1.103 cairo-image-surface.c, 1.33, 1.34 cairo-matrix.c, 1.21,
1.22 cairo-pattern.c, 1.28, 1.29 cairo-pdf-surface.c, 1.24,
1.25 cairo-pen.c, 1.22, 1.23 cairo-surface.c, 1.51,
1.52 cairo-win32-font.c, 1.11, 1.12 cairo-xlib-surface.c, 1.55,
1.56 cairo.c, 1.71, 1.72 cairo.h, 1.91, 1.92 cairoint.h, 1.117,
1.118
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list