Logo Search packages:      
Sourcecode: inkscape version File versions

bool sp_curve_empty ( SPCurve curve  ) 

True if no paths are in curve.

Definition at line 620 of file curve.cpp.

References SPCurve::_bpath, NArtBpath::code, and NR_END.

Referenced by fit_and_split(), and spdc_pen_finish_segment().

{
    g_return_val_if_fail(curve != NULL, TRUE);

    return (curve->_bpath->code == NR_END);
}


Generated by  Doxygen 1.6.0   Back to index