Searched defs:LINE (Results 1 - 1 of 1) sorted by relevance
/inkscape/src/ |
H A D | snapper.h | 72 enum SnapConstraintType {LINE, DIRECTION, CIRCLE, UNDEFINED}; enumerator in enum:Inkscape::Snapper::SnapConstraint::SnapConstraintType 78 SnapConstraint(Geom::Point const &p, Geom::Point const &d) : _point(p), _direction(d), _radius(0), _type(LINE) {} 80 SnapConstraint(Geom::Point const &p, Geom::Dim2 const &d) : _point(p), _direction(), _radius(0), _type(LINE) {_direction[d] = 1.;} 81 SnapConstraint(Geom::Line const &l) : _point(l.origin()), _direction(l.versor()), _radius(0), _type(LINE) {} 104 bool isLinear() const { return _type == LINE; } 121 Geom::Point const p1_on_cl = (_type == LINE) ? _point : p;
|
Completed in 11 milliseconds