Logo Search packages:      
Sourcecode: inkscape version File versions

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

Try to snap a point to whatever this snapper is interested in. Any snap that occurs will be to the nearest "interesting" thing (e.g. a grid or guide line)

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

Referenced by freeSnap().


Generated by  Doxygen 1.6.0   Back to index