summaryrefslogtreecommitdiffstats
path: root/src/2geom/point.h
diff options
context:
space:
mode:
authorJF Barraud <jf.barraud@gmail.com>2009-03-09 01:47:39 +0000
committerjfbarraud <jfbarraud@users.sourceforge.net>2009-03-09 01:47:39 +0000
commitfffb14c92df4ff0efb9271708984c75ca12b30d6 (patch)
tree04a75637990939efdd4da28826357ff214bafc22 /src/2geom/point.h
parentpart of bug #339660; can not use Add/Rename dialog to create layer with no pr... (diff)
downloadinkscape-fffb14c92df4ff0efb9271708984c75ca12b30d6.tar.gz
inkscape-fffb14c92df4ff0efb9271708984c75ca12b30d6.zip
2geom update
(bzr r7453)
Diffstat (limited to 'src/2geom/point.h')
-rw-r--r--src/2geom/point.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/2geom/point.h b/src/2geom/point.h
index 39538c832..af97cbfa5 100644
--- a/src/2geom/point.h
+++ b/src/2geom/point.h
@@ -229,8 +229,10 @@ Point operator*(Point const &v, Matrix const &m);
Point operator/(Point const &p, Matrix const &m);
-/** Constrains the angle between a and b to a multiple of pi/n with respect to dir. */
-Point constrain_angle(Point const &ref, Point const &pt, unsigned int n = 4, Geom::Point const &dir = Geom::Point(1,0));
+/** Constrains the angle (with respect to dir) of the line
+ * joining A and B to a multiple of pi/n.
+ */
+Point constrain_angle(Point const &A, Point const &B, unsigned int n = 4, Geom::Point const &dir = Geom::Point(1,0));
} /* namespace Geom */