X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_bline.h;h=c884908f6b58e92d278b73338e0d1c29b33e6abb;hb=69dec3923341f50673aeb5a7d61aa0f7e1bf74e5;hp=221dc323032de78e4887dac8d4bfe2dc2142bb47;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_bline.h b/synfig-core/trunk/src/synfig/valuenode_bline.h index 221dc32..c884908 100644 --- a/synfig-core/trunk/src/synfig/valuenode_bline.h +++ b/synfig-core/trunk/src/synfig/valuenode_bline.h @@ -1,6 +1,6 @@ /* === S Y N F I G ========================================================= */ /*! \file valuenode_bline.h -** \brief Template Header +** \brief Header file for implementation of the "BLine" valuenode conversion. ** ** $Id$ ** @@ -49,6 +49,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 */