Logo Search packages:      
Sourcecode: inkscape version File versions

Layout::iterator Inkscape::Text::Layout::charIndexToIterator ( int  char_index  )  const [inline]

Returns an iterator pointing at the given character index. This index should be related to the result from a prior call to iteratorToCharIndex().

Definition at line 933 of file Layout-TNG.h.

References begin(), and end().

    if (char_index < 0) return begin();
    if (char_index >= (int)_characters.size()) return end();
    return iterator(this, char_index);

Generated by  Doxygen 1.6.0   Back to index