Inkscape
Vector Graphics Editor
|
SnappedCurve class. More...
Go to the source code of this file.
Functions | |
bool | getClosestCurve (std::list< Inkscape::SnappedCurve > const &list, Inkscape::SnappedCurve &result, bool exclude_paths, bool paths_only) |
bool | getClosestIntersectionCS (std::list< Inkscape::SnappedCurve > const &list, Geom::Point const &p, Inkscape::SnappedPoint &result, Geom::Affine dt2doc) |
bool | getClosestIntersectionCL (std::list< Inkscape::SnappedCurve > const &curve_list, std::list< Inkscape::SnappedLine > const &line_list, Geom::Point const &p, Inkscape::SnappedPoint &result, Geom::Affine dt2doc) |
SnappedCurve class.
Authors: 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-curve.cpp.
bool getClosestCurve | ( | std::list< Inkscape::SnappedCurve > const & | list, |
Inkscape::SnappedCurve & | result, | ||
bool | exclude_paths, | ||
bool | paths_only | ||
) |
Definition at line 166 of file snapped-curve.cpp.
References result, and Inkscape::SNAPTARGET_PATH.
Referenced by SnapManager::findBestSnap().
bool getClosestIntersectionCL | ( | std::list< Inkscape::SnappedCurve > const & | curve_list, |
std::list< Inkscape::SnappedLine > const & | line_list, | ||
Geom::Point const & | p, | ||
Inkscape::SnappedPoint & | result, | ||
Geom::Affine | dt2doc | ||
) |
Definition at line 223 of file snapped-curve.cpp.
References Inkscape::SnappedPoint::getAtIntersection(), Inkscape::SnappedPoint::getSecondSnapDistance(), Inkscape::SnappedPoint::getSnapDistance(), result, and Inkscape::SNAPTARGET_BBOX_EDGE.
Referenced by SnapManager::findBestSnap().
bool getClosestIntersectionCS | ( | std::list< Inkscape::SnappedCurve > const & | list, |
Geom::Point const & | p, | ||
Inkscape::SnappedPoint & | result, | ||
Geom::Affine | dt2doc | ||
) |
Definition at line 188 of file snapped-curve.cpp.
References Inkscape::SnappedPoint::getAtIntersection(), Inkscape::SnappedPoint::getSecondSnapDistance(), Inkscape::SnappedPoint::getSnapDistance(), result, and Inkscape::SNAPTARGET_BBOX_EDGE.
Referenced by SnapManager::findBestSnap().