Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_curve_moveto ( SPCurve curve,
NR::Point const &  p 
)

Perform a moveto to a point, thus starting a new subpath.

Definition at line 348 of file curve.cpp.

References SPCurve::end, SPCurve::hascpt, SPCurve::movePos, SPCurve::moving, SPCurve::posSet, and SPCurve::substart.

{
    g_return_if_fail(curve != NULL);
    g_return_if_fail(!curve->moving);

    curve->substart = curve->end;
    curve->hascpt = true;
    curve->posSet = true;
    curve->movePos = p;
}


Generated by  Doxygen 1.6.0   Back to index