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

SPCurve * SPCurve::unref (  )

Decrease refcount of curve, with possible destruction.

Todo:
should this be shared with other refcounting code?

Definition at line 124 of file curve.cpp.

Referenced by Inkscape::ObjectSnapper::_collectPaths(), Inkscape::UI::PathManipulator::_getGeometry(), Inkscape::UI::PathManipulator::_updateOutline(), fit_and_split(), sp_draw_anchor_destroy(), sp_offset_set_shape(), sp_offset_top_point(), and spdc_pen_finish_segment().

{
    _refcount -= 1;

    if (_refcount < 1) {
        delete this;
    }

    return NULL;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index