Logo Search packages:      
Sourcecode: inkscape version File versions

NR::Point sp_curve_first_point ( SPCurve const *const   curve  ) 

Return first point of first subpath or (0,0).

Definition at line 680 of file curve.cpp.

References NArtBpath::c(), and sp_curve_first_bpath().

{
    NArtBpath *const bpath = sp_curve_first_bpath(curve);
    g_return_val_if_fail(bpath != NULL, NR::Point(0, 0));
    return bpath->c(3);
}


Generated by  Doxygen 1.6.0   Back to index