Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / stable / src / synfig / valuenode_bline.h
index a203fc8..915d262 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -49,6 +50,9 @@ ValueBase convert_bline_to_segment_list(const ValueBase &bline);
 //! Converts a list of bline points into a list of widths
 ValueBase convert_bline_to_width_list(const ValueBase &bline);
 
+//! Finds the closest point to pos in bline
+Real find_closest_point(const ValueBase &bline, const Point &pos, Real &radius, bool loop, Point *out_point = 0);
+
 /*! \class ValueNode_BLine
 **     \brief \writeme
 */