Lines Matching refs:Geom

27     virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const = 0;
28 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const = 0;
38 void snap(::SnapManager *sm, std::vector<Inkscape::SnapCandidatePoint> const &points, Geom::Point const &pointer);
46 Geom::Point _vector;
47 Geom::Point _vector_snapped;
49 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
50 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const;
57 PureTranslate(Geom::Point vector = Geom::Point()) : _vector(vector), _vector_snapped(vector) {}
59 Geom::Point getTranslationSnapped() {return _vector_snapped;}
67 Geom::Dim2 _direction;
68 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
72 PureTranslateConstrained(Geom::Coord displacement, Geom::Dim2 direction):
86 Geom::Scale _scale;
87 Geom::Scale _scale_snapped;
88 Geom::Point _origin;
91 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
92 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const;
100 PureScale(Geom::Scale scale, Geom::Point origin, bool uniform) :
107 Geom::Scale getScaleSnapped() {return _scale_snapped;}
114 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
118 PureScaleConstrained(Geom::Scale scale, Geom::Point origin):
130 Geom::Coord _magnitude;
131 Geom::Scale _stretch_snapped;
132 Geom::Point _origin;
133 Geom::Dim2 _direction;
136 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
137 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const;
142 PureStretchConstrained(Geom::Coord magnitude, Geom::Point origin, Geom::Dim2 direction, bool uniform) :
144 _stretch_snapped (Geom::Scale(magnitude, magnitude)),
154 Geom::Scale getStretchSnapped() {return _stretch_snapped;}
155 Geom::Coord getMagnitude() {return _magnitude;}
156 Geom::Coord getMagnitudeSnapped() {return _stretch_snapped[_direction];}
167 Geom::Coord _skew;
168 Geom::Coord _skew_snapped;
169 Geom::Coord _scale;
170 Geom::Point _origin;
171 Geom::Dim2 _direction;
173 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
174 Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const;
179 PureSkewConstrained(Geom::Coord skew, Geom::Coord scale, Geom::Point origin, Geom::Dim2 direction) :
187 Geom::Coord getSkewSnapped() {return _skew_snapped;}
201 Geom::Point _origin;
204 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const;
205 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const;
213 PureRotateConstrained(double angle, Geom::Point origin) :