Logo Search packages:      
Sourcecode: inkscape version File versions

NArtBpath* sp_curve_first_bpath ( SPCurve const *  curve  ) 

Return first subpath or NULL.

Definition at line 646 of file curve.cpp.

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

Referenced by sp_curve_append_continuous(), sp_curve_first_point(), and sp_nodepath_new().

{
    g_return_val_if_fail(curve != NULL, NULL);

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

    return curve->_bpath;
}


Generated by  Doxygen 1.6.0   Back to index