X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsnapped-curve.h;h=595f844110f16404758ce4bd67836f31d086d874;hb=c7cf14ac71346f76ae219ce67fb88c1bd34832e2;hp=4eea6e7342e64f5a864a354855c4123b148d7562;hpb=b14660973c5769e397d5c89b582a8b4eec2f0395;p=inkscape.git diff --git a/src/snapped-curve.h b/src/snapped-curve.h index 4eea6e734..595f84411 100644 --- a/src/snapped-curve.h +++ b/src/snapped-curve.h @@ -24,12 +24,14 @@ class SnappedCurve : public SnappedPoint { public: SnappedCurve(); - SnappedCurve(Geom::Point const &snapped_point, 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); + 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); ~SnappedCurve(); Inkscape::SnappedPoint intersect(SnappedCurve const &curve, Geom::Point const &p, Geom::Matrix dt2doc) const; //intersect with another SnappedCurve private: Geom::Curve const *_curve; + int _num_path; // Unique id of the path to which this segment belongs too + int _num_segm; // Sequence number of this segment in the path }; }