Inkscape
Vector Graphics Editor
|
SnappedPoint class. More...
Go to the source code of this file.
Functions | |
bool | getClosestSP (std::list< Inkscape::SnappedPoint > const &list, Inkscape::SnappedPoint &result) |
SnappedPoint class.
Authors: Mathieu Dimanche mdima.nosp@m.nche.nosp@m.@free.nosp@m..fr Diederik van Lierop mail@.nosp@m.died.nosp@m.enrez.nosp@m.i.nl
Released under GNU GPL v2+, read the file 'COPYING' for more information.
Definition in file snapped-point.cpp.
bool getClosestSP | ( | std::list< Inkscape::SnappedPoint > const & | list, |
Inkscape::SnappedPoint & | result | ||
) |
Definition at line 242 of file snapped-point.cpp.
References Inkscape::SnappedPoint::getAlignmentTarget(), Inkscape::SnappedPoint::getAlignmentTarget2(), Inkscape::SnappedPoint::getAlignmentTargetType(), Inkscape::SnappedPoint::getDistanceToAlignTarget(), Inkscape::SnappedPoint::getPoint(), Inkscape::SnappedPoint::getSnapDistance(), Inkscape::SnappedPoint::getTarget(), Geom::L2(), result, Inkscape::SNAPTARGET_ALIGNMENT_BBOX_CORNER, Inkscape::SNAPTARGET_ALIGNMENT_CATEGORY, Inkscape::SNAPTARGET_ALIGNMENT_INTERSECTION, Inkscape::SNAPTARGET_DISTRIBUTION_CATEGORY, Inkscape::SNAPTARGET_DISTRIBUTION_DOWN, Inkscape::SNAPTARGET_DISTRIBUTION_LEFT, Inkscape::SNAPTARGET_DISTRIBUTION_RIGHT, Inkscape::SNAPTARGET_DISTRIBUTION_UP, Inkscape::SNAPTARGET_DISTRIBUTION_X, Inkscape::SNAPTARGET_DISTRIBUTION_XY, Inkscape::SNAPTARGET_DISTRIBUTION_Y, Geom::Point::x(), and Geom::Point::y().
Referenced by SnapManager::findBestSnap().