From 2633767789e4264b13ef91a684accf734fb4e94f Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 26 Oct 2011 21:55:51 -0700 Subject: Fixing more broken and split doc comments. (bzr r10697) --- src/object-snapper.cpp | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'src/object-snapper.cpp') diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp index bf8cf166a..e7d9b774d 100644 --- a/src/object-snapper.cpp +++ b/src/object-snapper.cpp @@ -1,5 +1,4 @@ -/** - * \file object-snapper.cpp +/* * Snapping things to objects. * * Authors: @@ -58,9 +57,6 @@ Inkscape::ObjectSnapper::~ObjectSnapper() delete _paths_to_snap_to; } -/** - * \return Snap tolerance (desktop coordinates); depends on current zoom so that it's always the same in screen pixels - */ Geom::Coord Inkscape::ObjectSnapper::getSnapperTolerance() const { SPDesktop const *dt = _snapmanager->getDesktop(); @@ -73,14 +69,6 @@ bool Inkscape::ObjectSnapper::getSnapperAlwaysSnap() const return _snapmanager->snapprefs.getObjectTolerance() == 10000; //TODO: Replace this threshold of 10000 by a constant; see also tolerance-slider.cpp } -/** - * Find all items within snapping range. - * \param parent Pointer to the document's root, or to a clipped path or mask object - * \param it List of items to ignore - * \param bbox_to_snap Bounding box hulling the whole bunch of points, all from the same selection and having the same transformation - * \param clip_or_mask The parent object being passed is either a clip or mask - */ - void Inkscape::ObjectSnapper::_findCandidates(SPObject* parent, std::vector const *it, bool const &first_point, @@ -354,10 +342,7 @@ void Inkscape::ObjectSnapper::_snapTranslatingGuide(IntermSnapResults &isr, } -/** - * Returns index of first NR_END bpath in array. - */ - +/// @todo investigate why Geom::Point p is passed in but ignored. void Inkscape::ObjectSnapper::_collectPaths(Geom::Point /*p*/, SnapSourceType const source_type, bool const &first_point) const @@ -767,9 +752,6 @@ void Inkscape::ObjectSnapper::constrainedSnap( IntermSnapResults &isr, } } -/** - * \return true if this Snapper will snap at least one kind of point. - */ bool Inkscape::ObjectSnapper::ThisSnapperMightSnap() const { return true; -- cgit v1.2.3