summaryrefslogtreecommitdiff
path: root/src/cairo.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-03-23 13:31:01 +0000
committerCarl Worth <cworth@cworth.org>2005-03-23 13:31:01 +0000
commit12de3807b48d6c5f133983a0de1498f93e0c84a6 (patch)
tree10bdc670a5456153729e06654fc94bbf3b9f0078 /src/cairo.h
parentb381eb8045683e51cbd052bb724cab9969677cb6 (diff)
Add backwards-compatibility for recently renamed functions.
Diffstat (limited to 'src/cairo.h')
-rw-r--r--src/cairo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cairo.h b/src/cairo.h
index a5be318c5..ee2a4b9f4 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -1064,6 +1064,12 @@ typedef cairo_status_t (*cairo_write_func_t) (void *closure,
#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 @@ typedef cairo_status_t (*cairo_write_func_t) (void *closure,
#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 */