Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_knot_moveto ( SPKnot knot,
Geom::Point const &  p 
)

Move knot to new position, without emitting a MOVED signal.

Definition at line 600 of file knot.cpp.

References SPKnot::item, and SPKnot::pos.

{
    g_return_if_fail(knot != NULL);
    g_return_if_fail(SP_IS_KNOT(knot));

    knot->pos = p;

    if (knot->item) {
        SP_CTRL(knot->item)->moveto (p);
    }
}


Generated by  Doxygen 1.6.0   Back to index