summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--cairomm/matrix.cc2
-rw-r--r--cairomm/matrix.h4
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e29374..299bffb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-12-20 Jonathon Jongsma <jonathon@quotidian.org>
+
+ * cairomm/matrix.cc:
+ * cairomm/matrix.h: change free convenience function 'scaled_matrix()' to
+ 'scaling_matrix()' to better match the other names (e.g.
+ 'translation_matrix()'). This API was added in 1.7.x so while it is an API
+ change, it doesn't affect any stable API.
+
2008-12-20 Armin Burgmeier <armin@openismus.com>
* cairomm/pattern.h: Forward-declared Matrix as a class instead of as
diff --git a/cairomm/matrix.cc b/cairomm/matrix.cc
index 8c1d4d6..aa74882 100644
--- a/cairomm/matrix.cc
+++ b/cairomm/matrix.cc
@@ -44,7 +44,7 @@ Matrix translation_matrix(double tx, double ty)
return m;
}
-Matrix scaled_matrix(double sx, double sy)
+Matrix scaling_matrix(double sx, double sy)
{
Matrix m;
cairo_matrix_init_scale(&m, sx, sy);
diff --git a/cairomm/matrix.h b/cairomm/matrix.h
index 559eaa5..f7de82b 100644
--- a/cairomm/matrix.h
+++ b/cairomm/matrix.h
@@ -58,7 +58,7 @@ public:
* @sa identity_matrix()
* @sa rotation_matrix()
* @sa translation_matrix()
- * @sa scaled_matrix()
+ * @sa scaling_matrix()
*/
Matrix();
@@ -181,7 +181,7 @@ Matrix translation_matrix(double tx, double ty);
*
* @relates Matrix
*/
-Matrix scaled_matrix(double sx, double sy);
+Matrix scaling_matrix(double sx, double sy);
/** Returns a Matrix initialized to a transformation that rotates by radians.
*