Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
snapped-curve.cpp File Reference

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)
 

Detailed Description

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.

Function Documentation

◆ getClosestCurve()

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().

◆ getClosestIntersectionCL()

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 
)

◆ getClosestIntersectionCS()