projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a new valuenode type: "Time String" for converting times to text strings.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_bline.h
diff --git
a/synfig-core/trunk/src/synfig/valuenode_bline.h
b/synfig-core/trunk/src/synfig/valuenode_bline.h
index
221dc32
..
c884908
100644
(file)
--- 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
/* === S Y N F I G ========================================================= */
/*! \file valuenode_bline.h
-** \brief
Template Header
+** \brief
Header file for implementation of the "BLine" valuenode conversion.
**
** $Id$
**
**
** $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);
//! 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
*/
/*! \class ValueNode_BLine
** \brief \writeme
*/