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

Public Member Functions | Protected Attributes | Private Attributes

Inkscape::SnappedCurve Class Reference

Class describing the result of an attempt to snap to a curve. More...

#include <snapped-curve.h>

Inheritance diagram for Inkscape::SnappedCurve:
Inheritance graph
[legend]
Collaboration diagram for Inkscape::SnappedCurve:
Collaboration graph
[legend]

List of all members.

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
Inkscape::SnappedPoint intersect (SnappedCurve const &curve, Geom::Point const &p, Geom::Matrix dt2doc) 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)
 SnappedCurve (Geom::Point const &snapped_point, int num_path, int num_segm, Geom::Coord const &snapped_distance, Geom::Coord const &snapped_tolerance, bool const &always_snap, bool const &fully_constrained, Geom::Curve const *curve, SnapSourceType source, long source_num, SnapTargetType target, Geom::OptRect target_bbox)

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

Private Attributes

Geom::Curve const * _curve
int _num_path
int _num_segm

Detailed Description

Class describing the result of an attempt to snap to a curve.

Definition at line 23 of file snapped-curve.h.


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

Generated by  Doxygen 1.6.0   Back to index