[cairo-commit] cairo/src cairo.h,1.85,1.86

Carl Worth commit at pdx.freedesktop.org
Wed Mar 23 13:31:04 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv10439/src

Modified Files:
	cairo.h 
Log Message:

        * src/cairo.h: Add backwards-compatibility for recently renamed
        functions.


Index: cairo.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- cairo.h	21 Mar 2005 07:23:19 -0000	1.85
+++ cairo.h	23 Mar 2005 21:31:01 -0000	1.86
@@ -1064,6 +1064,12 @@
 #define cairo_current_target_surface cairo_current_target_surface_DEPRECATED_BY_cairo_get_target_surface
 #define cairo_get_status             cairo_get_status_DEPRECATED_BY_cairo_status
 #define cairo_get_status_string	     cairo_get_status_string_DEPRECATED_BY_cairo_status_string
+#define cairo_concat_matrix		 cairo_concat_matrix_DEPRECATED_BY_cairo_transform
+#define cairo_transform_point		 cairo_transform_point_DEPRECATED_BY_cairo_user_to_device
+#define cairo_transform_distance	 cairo_transform_distance_DEPRECATED_BY_cairo_user_to_device_distance
+#define cairo_inverse_transform_point	 cairo_inverse_transform_point_DEPRECATED_BY_cairo_device_to_user
+#define cairo_inverse_transform_distance cairo_inverse_transform_distance_DEPRECATED_BY_cairo_device_to_user_distance
+#define cairo_init_clip			 cairo_init_clip_DEPRECATED_BY_cairo_reset_clip
 
 #else /* CAIRO_API_SHAKEUP_FLAG_DAY */
 
@@ -1085,6 +1091,12 @@
 #define cairo_current_target_surface cairo_get_target_surface
 #define cairo_get_status             cairo_status
 #define cairo_get_status_string	     cairo_status_string
+#define cairo_concat_matrix		 cairo_transform
+#define cairo_transform_point		 cairo_user_to_device
+#define cairo_transform_distance	 cairo_user_to_device_distance
+#define cairo_inverse_transform_point	 cairo_device_to_user
+#define cairo_inverse_transform_distance cairo_device_to_user_distance
+#define cairo_init_clip			 cairo_reset_clip
 
 #endif /* CAIRO_API_SHAKEUP_FLAG_DAY */
 




More information about the cairo-commit mailing list