Searched refs:new_pos (Results 1 - 15 of 15) sorted by relevance

/inkscape/src/ui/tool/
H A Dnode.cpp136 void Handle::move(Geom::Point const &new_pos) argument
145 if (Geom::are_near(new_pos, _parent->position())) {
174 setPosition(new_pos);
188 Geom::Point delta = new_pos - _parent->position();
211 other->setDirection(new_pos, *_parent);
215 other->setRelativePos(-(new_pos - _parent->position()));
219 setPosition(new_pos);
332 void Handle::dragged(Geom::Point &new_pos, GdkEventMotion *event) argument
346 new_pos = parent_pos + Geom::unit_vector(new_pos
625 move(Geom::Point const &new_pos) argument
717 _fixNeighbors(Geom::Point const &old_pos, Geom::Point const &new_pos) argument
1205 dragged(Geom::Point &new_pos, GdkEventMotion *event) argument
[all...]
H A Dcurve-drag-point.cpp70 void CurveDragPoint::dragged(Geom::Point &new_pos, GdkEventMotion *event) argument
86 Inkscape::SnapCandidatePoint scp(new_pos, Inkscape::SNAPSOURCE_OTHER_HANDLE);
88 new_pos = sp.getPoint();
101 Geom::Point delta = new_pos - position();
111 second->back()->move(new_pos);
117 first->back()->move(new_pos);
H A Dselectable-control-point.cpp62 void SelectableControlPoint::dragged(Geom::Point &new_pos, GdkEventMotion *event) argument
64 _selection._pointDragged(new_pos, event);
H A Dselector.cpp76 virtual void dragged(Geom::Point &new_pos, GdkEventMotion *) { argument
78 Geom::Rect sel(_start, new_pos);
H A Dselectable-control-point.h47 virtual void dragged(Geom::Point &new_pos, GdkEventMotion *event);
H A Dtransform-handle-set.cpp171 void TransformHandle::dragged(Geom::Point &new_pos, GdkEventMotion *event) argument
173 Geom::Affine t = computeTransform(new_pos, event);
250 virtual Geom::Affine computeTransform(Geom::Point const &new_pos, GdkEventMotion *event) { argument
252 Geom::Point vold = _origin - scc, vnew = new_pos - scc;
338 virtual Geom::Affine computeTransform(Geom::Point const &new_pos, GdkEventMotion *event) { argument
348 vs[d1] = (new_pos - scc)[d1] / (_origin - scc)[d1];
418 virtual Geom::Affine computeTransform(Geom::Point const &new_pos, GdkEventMotion *event) argument
421 double angle = Geom::angle_between(_origin - rotc, new_pos - rotc);
503 virtual Geom::Affine computeTransform(Geom::Point const &new_pos, GdkEventMotion *event) argument
517 Geom::Scale scale = calcScaleFactors(_origin, new_pos, sc
647 dragged(Geom::Point &new_pos, GdkEventMotion *event) argument
[all...]
H A Dcontrol-point.cpp309 Geom::Point new_pos = _desktop->w2d(event_point(event->motion)) + pointer_offset; local
311 dragged(new_pos, &em);
312 move(new_pos);
315 _desktop->scroll_to_point(new_pos);
397 Geom::Point new_pos = _drag_origin; local
416 dragged(new_pos, &fake);
603 void ControlPoint::dragged(Geom::Point &/*new_pos*/, GdkEventMotion * /*event*/)
H A Dtransform-handle-set.h121 virtual void dragged(Geom::Point &new_pos, GdkEventMotion *event);
H A Dnode.h125 virtual void dragged(Geom::Point &new_pos, GdkEventMotion *event);
243 virtual void dragged(Geom::Point &new_pos, GdkEventMotion *event);
255 void _fixNeighbors(Geom::Point const &old_pos, Geom::Point const &new_pos);
H A Dcontrol-point.h267 * @param new_pos New position (after drag). This is passed as a non-const reference,
271 virtual void dragged(Geom::Point &new_pos, GdkEventMotion *event);
H A Dcontrol-point-selection.cpp359 void ControlPointSelection::_pointDragged(Geom::Point &new_pos, GdkEventMotion *event) argument
361 Geom::Point abs_delta = new_pos - _original_positions[_grabbed_point];
412 Geom::Point delta = new_pos - _grabbed_point->position();
/inkscape/src/
H A Dbox3d.h73 void box3d_set_corner (SPBox3D *box, unsigned int id, Geom::Point const &new_pos, Box3D::Axis movement, bool constrained);
74 void box3d_set_center (SPBox3D *box, Geom::Point const &new_pos, Geom::Point const &old_pos, Box3D::Axis movement, bool constrained);
H A Dbox3d.cpp450 box3d_set_corner (SPBox3D *box, const guint id, Geom::Point const &new_pos, const Box3D::Axis movement, bool constrained) { argument
459 Proj::Pt3 pt_proj (persp_impl->tmat.preimage (new_pos, (id < 4) ? box->orig_corner0[Proj::Z] :
481 Geom::Point new_pos_snapped(pl.closest_to(new_pos));
503 void box3d_set_center (SPBox3D *box, Geom::Point const &new_pos, Geom::Point const &old_pos, const Box3D::Axis movement, bool constrained) { argument
515 Proj::Pt3 pt_proj (persp->perspective_impl->tmat.preimage (new_pos, coord, Proj::Z));
536 Geom::Point new_pos_snapped(pl.closest_to(new_pos));
/inkscape/src/ui/
H A Dobject-edit.cpp500 Box3DKnotHolderEntity::knot_set_generic(SPItem *item, unsigned int knot_id, Geom::Point const &new_pos, unsigned int state) argument
502 Geom::Point const s = snap_knot_position(new_pos, state);
635 Box3DKnotHolderEntity0::knot_set(Geom::Point const &new_pos, Geom::Point const &/*origin*/, unsigned int state) argument
637 knot_set_generic(item, 0, new_pos, state);
641 Box3DKnotHolderEntity1::knot_set(Geom::Point const &new_pos, Geom::Point const &/*origin*/, unsigned int state) argument
643 knot_set_generic(item, 1, new_pos, state);
647 Box3DKnotHolderEntity2::knot_set(Geom::Point const &new_pos, Geom::Point const &/*origin*/, unsigned int state) argument
649 knot_set_generic(item, 2, new_pos, state);
653 Box3DKnotHolderEntity3::knot_set(Geom::Point const &new_pos, Geom::Point const &/*origin*/, unsigned int state) argument
655 knot_set_generic(item, 3, new_pos, stat
659 knot_set(Geom::Point const &new_pos, Geom::Point const & , unsigned int state) argument
665 knot_set(Geom::Point const &new_pos, Geom::Point const & , unsigned int state) argument
671 knot_set(Geom::Point const &new_pos, Geom::Point const & , unsigned int state) argument
677 knot_set(Geom::Point const &new_pos, Geom::Point const & , unsigned int state) argument
683 knot_set(Geom::Point const &new_pos, Geom::Point const &origin, unsigned int state) argument
[all...]
/inkscape/src/libgdl/
H A Dgdl-dock-notebook.c498 gint current_position, new_pos = -1; local
508 new_pos = g_value_get_int (other_data);
512 new_pos); local

Completed in 207 milliseconds