summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@gnome.org>2006-08-18 17:03:33 +0000
committerJonathon Jongsma <jjongsma@gnome.org>2006-08-18 17:03:33 +0000
commit89be006272f2edebaf110ea76f91ed0ed47a45df (patch)
tree708db9c1ea50b953778e491bb6477e1845b5f67f
parent87895fe43674be6607fff8a6c215b49653054032 (diff)
2006-08-18 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* cairomm/context.cc: * cairomm/context.h: API CHANGE: some API was changed to maintain a closer similarity to the underlying cairo API (while also attempting to avoid confusion with the C++ 'new' keyword) in preparation for freezing the cairomm API. Two functions are affected: - Context::clear_path() -> Context::begin_new_path() - Context::new_sub_path() -> Context::begin_new_sub_path() * configure.in: bump the libtool version to indicate API change
-rw-r--r--ChangeLog11
-rw-r--r--cairomm/context.cc4
-rw-r--r--cairomm/context.h6
-rw-r--r--configure.in2
4 files changed, 17 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 71d4834..dcfd726 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2006-08-18 Jonathon Jongsma <jonathon.jongsma@gmail.com>
+
+ * cairomm/context.cc:
+ * cairomm/context.h: API CHANGE: some API was changed to maintain a closer
+ similarity to the underlying cairo API (while also attempting to avoid
+ confusion with the C++ 'new' keyword) in preparation for freezing the
+ cairomm API. Two functions are affected:
+ - Context::clear_path() -> Context::begin_new_path()
+ - Context::new_sub_path() -> Context::begin_new_sub_path()
+ * configure.in: bump the libtool version to indicate API change
+
2006-08-15 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* cairomm/context.cc: remove another TODO. I looked at cairo_append_path,
diff --git a/cairomm/context.cc b/cairomm/context.cc
index 2846267..49fdb7a 100644
--- a/cairomm/context.cc
+++ b/cairomm/context.cc
@@ -223,13 +223,13 @@ void Context::device_to_user_distance(double& dx, double& dy)
check_object_status_and_throw_exception(*this);
}
-void Context::clear_path()
+void Context::begin_new_path()
{
cairo_new_path(m_cobject);
check_object_status_and_throw_exception(*this);
}
-void Context::new_sub_path()
+void Context::begin_new_sub_path()
{
cairo_new_sub_path(m_cobject);
check_object_status_and_throw_exception(*this);
diff --git a/cairomm/context.h b/cairomm/context.h
index 42fcc67..dcd3d83 100644
--- a/cairomm/context.h
+++ b/cairomm/context.h
@@ -351,7 +351,7 @@ public:
/** Clears the current path. After this call there will be no current point.
*/
- void clear_path();
+ void begin_new_path();
/** Begin a new subpath. Note that the existing path is not affected. After
* this call there will be no current point.
@@ -359,12 +359,12 @@ public:
* In many cases, this call is not needed since new subpaths are frequently
* started with move_to().
*
- * A call to new_sub_path() is particularly useful when beginning a new
+ * A call to begin_new_sub_path() is particularly useful when beginning a new
* subpath with one of the arc() calls. This makes things easier as it is no
* longer necessary to manually compute the arc's initial coordinates for a
* call to move_to().
*/
- void new_sub_path();
+ void begin_new_sub_path();
/** If the current subpath is not empty, begin a new subpath. After this call
* the current point will be (x, y).
diff --git a/configure.in b/configure.in
index 38b9851..2fc1e05 100644
--- a/configure.in
+++ b/configure.in
@@ -11,7 +11,7 @@ AC_SUBST(GENERIC_MICRO_VERSION)
AC_SUBST(GENERIC_VERSION)
#shared library versioning
-GENERIC_LIBRARY_VERSION=0:7:0
+GENERIC_LIBRARY_VERSION=0:8:0
# | | |
# +------+ | +---+
# | | |