Logo Search packages:      
Sourcecode: inkscape version File versions

NR::Coord Inkscape::Snapper::getSnapperTolerance (  )  const

Returns:
Snap tolerance (desktop coordinates); depends on current zoom so that it's always the same in screen pixels

Definition at line 46 of file snapper.cpp.

References _snapper_tolerance.

{
    return _snapper_tolerance / SP_ACTIVE_DESKTOP->current_zoom();
}


Generated by  Doxygen 1.6.0   Back to index