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.

Referenced by GrDragger::moveThisToDraggable(), node_handle_moved(), sp_node_update_handle(), and sp_node_update_handles().

{
    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