Logo Search packages:      
Sourcecode: inkscape version File versions

virtual void Inkscape::Snapper::_doConstrainedSnap ( SnappedConstraints &  sc,
PointType const &  t,
NR::Point const &  p,
bool const &  first_point,
std::vector< NR::Point > &  points_to_snap,
ConstraintLine const &  c,
std::list< SPItem const * > const &  it 
) const [private, pure virtual]

Try to snap a point to whatever this snapper is interested in, where the snap point is constrained to lie along a specified vector from the original point.

Parameters:
p Point to snap (desktop coordinates).
c Vector to constrain the snap to.
it Items that should not be snapped to.
Returns:
Snapped point.

Referenced by constrainedSnap().


Generated by  Doxygen 1.6.0   Back to index