summaryrefslogtreecommitdiffstats
path: root/src/text-editing.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-02-05 00:44:16 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-02-05 00:44:16 +0000
commitd28d568ea6afd2e08266922daf6f2c12f6eac720 (patch)
tree069a5c0fb116434f7da4b606b68b597b31957a4e /src/text-editing.h
parenthad 5 mins so I cleaned up a little more (diff)
downloadinkscape-d28d568ea6afd2e08266922daf6f2c12f6eac720.tar.gz
inkscape-d28d568ea6afd2e08266922daf6f2c12f6eac720.zip
sp_text_get_length_upto to count length recursively up to a given child
(bzr r76)
Diffstat (limited to 'src/text-editing.h')
-rw-r--r--src/text-editing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/text-editing.h b/src/text-editing.h
index 619bec89f..dba763f75 100644
--- a/src/text-editing.h
+++ b/src/text-editing.h
@@ -24,6 +24,7 @@ bool sp_te_output_is_empty (SPItem const *item);
bool sp_te_input_is_empty (SPObject const *item);
unsigned sp_text_get_length(SPObject const *item);
+unsigned sp_text_get_length_upto(SPObject const *item, SPObject const *upto);
std::vector<NR::Point> sp_te_create_selection_quads(SPItem const *item, Inkscape::Text::Layout::iterator const &start, Inkscape::Text::Layout::iterator const &end, NR::Matrix const &transform);
Inkscape::Text::Layout::iterator sp_te_get_position_by_coords (SPItem const *item, NR::Point &i_p);