[Commit] cairo ChangeLog,1.61,1.62 configure.in,1.16,1.17

Carl Worth commit at keithp.com
Thu Sep 25 09:01:41 PDT 2003


Committed by: cworth

Update of /local/src/CVS/cairo
In directory home.keithp.com:/tmp/cvs-serv9149

Modified Files:
	ChangeLog configure.in 
Log Message:
Expose a cairo_path_t object with related functions:
cairo_set_path, cairo_current_path, cairo_path_move_to, cairo_path_line_to, etc.

Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/cairo/ChangeLog,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- ChangeLog	16 Sep 2003 17:28:46 -0000	1.61
+++ ChangeLog	25 Sep 2003 15:01:38 -0000	1.62
@@ -1,3 +1,38 @@
+2003-09-25  Carl Worth  <cworth at isi.edu>
+
+	* configure.in (CAIRO_VERSION): Bumped version to 0.1.4 for new
+	exposed cairo_path_t and related functions.
+
+	* src/cairo_path.c (cairo_path_create):
+	(_cairo_path_copy):
+	(cairo_path_destroy): New create/copy/destroy functions for paths.
+	(_cairo_path_init): Added current_pt state to cairo_path_t.
+	(cairo_path_rel_move_to):
+	(cairo_path_rel_line_to):
+	(cairo_path_rel_curve_to): Added relative path creation functions,
+	(relative stufff used to be done internally in cairo_gstate).
+	(_cairo_path_set_ctm_inverse):
+	(_cairo_path_transform): Added functions to transform all
+	coordinates in a path.
+
+	* src/cairo_gstate.c (_cairo_gstate_init): Moved all current_pt
+	state out of cairo_gstate and into cairo_path.
+	(_cairo_gstate_copy): Renamed _cairo_gstate_clone to
+	_cairo_gstate_copy for consitency with other functions, (though I
+	may reconsider and rename all of them to _clone).
+	(_cairo_gstate_current_path): 
+	(_cairo_gstate_set_path): New functions for "user path" support.
+
+	* src/cairo.h: Expose new opaque cairo_path_t object along with
+	several new public functions: cairo_set_path, cairo_current_path,
+	cairo_path_create, cairo_path_destroy, cairo_path_move_to,
+	cairo_path_line_to, cairo_path_curve_to, cairo_path_rel_move_to,
+	cairo_path_rel_line_to, cairo_path_rel_curve_to,
+	cairo_path_close_path, cairo_path_current_point.
+
+	* src/cairo.c (cairo_set_path, cairo_current_path): Added
+	functions to get/set current path.
+
 2003-09-16  Carl Worth  <cworth at isi.edu>
 
 	* src/cairo_surface.c (cairo_surface_create_similar_solid): Fixed

Index: configure.in
===================================================================
RCS file: /local/src/CVS/cairo/configure.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- configure.in	16 Sep 2003 13:45:19 -0000	1.16
+++ configure.in	25 Sep 2003 15:01:38 -0000	1.17
@@ -3,7 +3,7 @@
 dnl ===========================================================================
 
 # Package version number, (as distinct from shared library version)
-CAIRO_VERSION=0.1.3
+CAIRO_VERSION=0.1.4
 
 # libtool shared library version
 




More information about the Commit mailing list