Logo Search packages:      
Sourcecode: inkscape version File versions

SPCurve* sp_curve_new_from_bpath ( NArtBpath bpath  ) 

Convert NArtBpath object to SPCurve object.

Returns:
new SPCurve, or NULL if the curve was not created for some reason.

Definition at line 79 of file curve.cpp.

References sp_curve_new_from_foreign_bpath().

Referenced by Inkscape::Text::Layout::convertToCurves(), sp_offset_set(), and sp_offset_set_shape().

{
    g_return_val_if_fail(bpath != NULL, NULL);

    SPCurve *curve = sp_curve_new_from_foreign_bpath(bpath);
    g_free(bpath);
    return curve;
}


Generated by  Doxygen 1.6.0   Back to index