Inkscape
Vector Graphics Editor
|
Class to store data for points which are snap candidates, either as a source or as a target. More...
#include <snap-candidate.h>
Private Attributes | |
Geom::Point | _point |
std::vector< std::pair< Geom::Point, bool > > | _origins_and_vectors |
Inkscape::SnapSourceType | _source_type |
Inkscape::SnapTargetType | _target_type |
long | _source_num |
Geom::OptRect | _target_bbox |
Geom::Coord | _dist |
bool | _alignment |
Class to store data for points which are snap candidates, either as a source or as a target.
Definition at line 31 of file snap-candidate.h.
|
default |
|
inline |
Definition at line 36 of file snap-candidate.h.
|
inline |
Definition at line 47 of file snap-candidate.h.
References _source_num.
|
inline |
Definition at line 58 of file snap-candidate.h.
|
inline |
Definition at line 80 of file snap-candidate.h.
References _origins_and_vectors.
Referenced by Inkscape::UI::Node::dragged(), Inkscape::UI::Tools::PagesTool::getSnappedResizePoint(), SnapManager::guideFreeSnap(), Inkscape::UI::Tools::MeasureTool::knotEndMovedHandler(), Inkscape::UI::Tools::MeasureTool::knotStartMovedHandler(), and Inkscape::UI::Tools::spdc_endpoint_snap_free().
|
inline |
Definition at line 81 of file snap-candidate.h.
References _origins_and_vectors.
Referenced by Inkscape::UI::Node::dragged(), and SnapManager::guideFreeSnap().
|
inline |
Definition at line 87 of file snap-candidate.h.
References _alignment.
Referenced by Inkscape::AlignmentSnapper::constrainedSnap(), and Inkscape::AlignmentSnapper::freeSnap().
|
inline |
Definition at line 78 of file snap-candidate.h.
References _dist.
|
inline |
Definition at line 82 of file snap-candidate.h.
References _origins_and_vectors.
Referenced by Inkscape::ObjectSnapper::_snapPathsTangPerp(), and Inkscape::LineSnapper::freeSnap().
|
inline |
Definition at line 69 of file snap-candidate.h.
References _point.
Referenced by Inkscape::AlignmentSnapper::_snapBBoxPoints(), Inkscape::DistributionSnapper::_snapEquidistantPoints(), Inkscape::ObjectSnapper::_snapNodes(), Inkscape::ObjectSnapper::_snapPaths(), Inkscape::ObjectSnapper::_snapPathsConstrained(), Inkscape::ObjectSnapper::_snapPathsTangPerp(), SnapManager::constrainedAngularSnap(), SnapManager::constrainedSnap(), Inkscape::AlignmentSnapper::constrainedSnap(), Inkscape::DistributionSnapper::constrainedSnap(), Inkscape::LineSnapper::constrainedSnap(), Inkscape::ObjectSnapper::constrainedSnap(), SnapManager::findBestSnap(), Inkscape::LineSnapper::freeSnap(), Inkscape::AlignmentSnapper::freeSnap(), Inkscape::DistributionSnapper::freeSnap(), Inkscape::ObjectSnapper::freeSnap(), Inkscape::PureTranslate::getTransformedPoint(), Inkscape::PureScale::getTransformedPoint(), Inkscape::PureStretchConstrained::getTransformedPoint(), Inkscape::PureSkewConstrained::getTransformedPoint(), Inkscape::PureRotateConstrained::getTransformedPoint(), SnapManager::multipleConstrainedSnaps(), Inkscape::Display::SnapIndicator::set_new_snapsource(), Inkscape::PureTranslate::storeTransform(), Inkscape::PureScale::storeTransform(), Inkscape::PureStretchConstrained::storeTransform(), Inkscape::PureSkewConstrained::storeTransform(), and Inkscape::PureRotateConstrained::storeTransform().
|
inline |
Definition at line 74 of file snap-candidate.h.
References _source_num.
Referenced by Inkscape::AlignmentSnapper::_snapBBoxPoints(), Inkscape::DistributionSnapper::_snapEquidistantPoints(), Inkscape::ObjectSnapper::_snapNodes(), Inkscape::ObjectSnapper::_snapPaths(), Inkscape::ObjectSnapper::_snapPathsConstrained(), Inkscape::ObjectSnapper::_snapPathsTangPerp(), SnapManager::constrainedSnap(), Inkscape::AlignmentSnapper::constrainedSnap(), Inkscape::DistributionSnapper::constrainedSnap(), Inkscape::LineSnapper::constrainedSnap(), Inkscape::ObjectSnapper::constrainedSnap(), Inkscape::LineSnapper::freeSnap(), Inkscape::AlignmentSnapper::freeSnap(), Inkscape::DistributionSnapper::freeSnap(), Inkscape::ObjectSnapper::freeSnap(), and SnapManager::multipleConstrainedSnaps().
|
inline |
Definition at line 70 of file snap-candidate.h.
References _source_type.
Referenced by Inkscape::AlignmentSnapper::_snapBBoxPoints(), Inkscape::DistributionSnapper::_snapEquidistantPoints(), Inkscape::ObjectSnapper::_snapNodes(), Inkscape::ObjectSnapper::_snapPaths(), Inkscape::ObjectSnapper::_snapPathsConstrained(), Inkscape::ObjectSnapper::_snapPathsTangPerp(), SnapManager::constrainedSnap(), Inkscape::AlignmentSnapper::constrainedSnap(), Inkscape::LineSnapper::constrainedSnap(), Inkscape::ObjectSnapper::constrainedSnap(), SnapManager::displaySnapsource(), SnapManager::findBestSnap(), Inkscape::LineSnapper::freeSnap(), Inkscape::AlignmentSnapper::freeSnap(), Inkscape::DistributionSnapper::freeSnap(), Inkscape::ObjectSnapper::freeSnap(), SnapManager::multipleConstrainedSnaps(), Inkscape::PureSkewConstrained::snap(), and Inkscape::PureRotateConstrained::snap().
|
inline |
Definition at line 85 of file snap-candidate.h.
References _target_bbox.
|
inline |
Definition at line 71 of file snap-candidate.h.
References _target_type.
|
inline |
Definition at line 72 of file snap-candidate.h.
References _source_num, _source_type, Inkscape::SNAPSOURCE_NODE_HANDLE, and Inkscape::SNAPSOURCE_OTHER_HANDLE.
Referenced by SnapManager::constrainedSnap(), and SnapManager::multipleConstrainedSnaps().
|
inline |
Definition at line 90 of file snap-candidate.h.
References _point.
|
inline |
Definition at line 84 of file snap-candidate.h.
References _dist.
|
inline |
Definition at line 77 of file snap-candidate.h.
References _dist.
|
inline |
Definition at line 89 of file snap-candidate.h.
References _point.
|
inline |
Definition at line 75 of file snap-candidate.h.
References _source_num, and num.
|
private |
Definition at line 122 of file snap-candidate.h.
Referenced by considerForAlignment().
|
private |
Definition at line 119 of file snap-candidate.h.
Referenced by getDistance(), operator<(), and setDistance().
|
private |
Definition at line 101 of file snap-candidate.h.
Referenced by addOrigin(), addVector(), and getOriginsAndVectors().
|
private |
Definition at line 94 of file snap-candidate.h.
Referenced by getPoint(), movePoint(), and setPoint().
|
private |
Definition at line 112 of file snap-candidate.h.
Referenced by getSourceNum(), isSingleHandle(), setSourceNum(), and SnapCandidatePoint().
|
private |
Definition at line 106 of file snap-candidate.h.
Referenced by getSourceType(), and isSingleHandle().
|
private |
Definition at line 116 of file snap-candidate.h.
Referenced by getTargetBBox().
|
private |
Definition at line 107 of file snap-candidate.h.
Referenced by getTargetType().