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

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

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

Definition at line 730 of file curve.cpp.

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

Referenced by Inkscape::ZoomVerb::perform().

{
    NArtBpath *const bpath = sp_curve_last_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