Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Inkscape::SnappedPoint Class Reference

#include <snapped-point.h>

Inheritance diagram for Inkscape::SnappedPoint:

Inkscape::SnappedCurve Inkscape::SnappedLine Inkscape::SnappedLineSegment

List of all members.


Detailed Description

Class describing the result of an attempt to snap.

Definition at line 25 of file snapped-point.h.


Public Member Functions

bool getAlwaysSnap () const
bool getAtIntersection () const
bool getConstrainedSnap () const
bool getFullyConstrained () const
Geom::Point getPoint () const
void getPoint (Geom::Point &p) const
Geom::Coord getPointerDistance () const
bool getSecondAlwaysSnap () const
Geom::Coord getSecondSnapDistance () const
Geom::Coord getSecondTolerance () const
Geom::Coord getSnapDistance () const
bool getSnapped () const
SnapSourceType getSource () const
long getSourceNum () const
SnapTargetType getTarget () const
Geom::OptRect const getTargetBBox () const
Geom::Coord getTolerance () const
Geom::Point getTransformation () const
bool isOtherSnapBetter (SnappedPoint const &other_one, bool weighted) const
void setPoint (Geom::Point const &p)
void setPointerDistance (Geom::Coord const d)
void setSecondSnapDistance (Geom::Coord const d)
void setSnapDistance (Geom::Coord const d)
void setSource (SnapSourceType const source)
void setTarget (SnapTargetType const target)
void setTargetBBox (Geom::OptRect const target)
void setTransformation (Geom::Point const t)
 SnappedPoint (SnapCandidatePoint const &p, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained)
 SnappedPoint (Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained, Geom::OptRect target_bbox=Geom::OptRect())
 SnappedPoint (Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &at_intersection, bool const &constrained_snap, bool const &fully_constrained, Geom::Coord const &d2, Geom::Coord const &t2, bool const &a2)
 SnappedPoint (Geom::Point const &p)

Protected Attributes

bool _always_snap
bool _at_intersection
bool _constrained_snap
Geom::Coord _distance
bool _fully_constrained
Geom::Point _point
Geom::Coord _pointer_distance
bool _second_always_snap
Geom::Coord _second_distance
Geom::Coord _second_tolerance
SnapSourceType _source
long _source_num
SnapTargetType _target
Geom::OptRect _target_bbox
Geom::Coord _tolerance
Geom::Point _transformation

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index