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

SPCurve* sp_curve_copy ( SPCurve curve  ) 

Create new curve from its own bpath array.

Definition at line 188 of file curve.cpp.

References SPCurve::_bpath, and sp_curve_new_from_foreign_bpath().

Referenced by fit_and_split(), and spdc_pen_finish_segment().

{
    g_return_val_if_fail(curve != NULL, NULL);

    return sp_curve_new_from_foreign_bpath(curve->_bpath);
}


Generated by  Doxygen 1.6.0   Back to index