Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void SPCurve::backspace (  )

Remove last segment of curve. (Only used once in /src/pen-context.cpp)

Definition at line 572 of file curve.cpp.

References is_empty().

{
    if ( is_empty() )
        return;

    if ( !_pathv.back().empty() ) {
        _pathv.back().erase_last();
        _pathv.back().close(false);
    }
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index