Lines Matching refs:parent_pos
338 Geom::Point parent_pos = _parent->position();
346 new_pos = parent_pos + Geom::unit_vector(new_pos - parent_pos) * _saved_length;
357 Geom::Line original_line(parent_pos, origin);
358 Geom::Line perp_line(parent_pos, parent_pos + Geom::rot90(origin - parent_pos));
359 Geom::Point snap_pos = parent_pos + Geom::constrain_angle(
360 Geom::Point(0,0), new_pos - parent_pos, snaps, Geom::Point(1,0));
365 ctrl_constraint = Inkscape::Snapper::SnapConstraint(parent_pos, parent_pos - snap_pos);
368 ctrl_constraint = Inkscape::Snapper::SnapConstraint(parent_pos, parent_pos - orig_pos);
372 ctrl_constraint = Inkscape::Snapper::SnapConstraint(parent_pos, parent_pos - perp_pos);
418 Geom::Point other_relpos = _saved_other_pos - parent_pos;
419 other_relpos *= Geom::Rotate(Geom::angle_between(origin - parent_pos, new_pos - parent_pos));