Logo Search packages:      
Sourcecode: inkscape version File versions

NArtBpath* sp_curve_last_bpath ( SPCurve const *  curve  ) 

Return last subpath or NULL.

Definition at line 631 of file curve.cpp.

References SPCurve::_bpath, and SPCurve::end.

Referenced by fit_and_split(), sp_curve_append_continuous(), and sp_curve_last_point().

{
    g_return_val_if_fail(curve != NULL, NULL);

    if (curve->end == 0) {
        return NULL;
    }

    return curve->_bpath + curve->end - 1;
}


Generated by  Doxygen 1.6.0   Back to index