Searched refs:_stretch_snapped (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/
H A Dpure-transform.h131 Geom::Scale _stretch_snapped; member in class:Inkscape::PureStretchConstrained
144 _stretch_snapped (Geom::Scale(magnitude, magnitude)),
150 _stretch_snapped[1-direction] = 1.0;
154 Geom::Scale getStretchSnapped() {return _stretch_snapped;}
156 Geom::Coord getMagnitudeSnapped() {return _stretch_snapped[_direction];}
H A Dpure-transform.cpp260 _stretch_snapped = Geom::Scale(Geom::infinity(), Geom::infinity());
262 _stretch_snapped[_direction] = a[_direction] / b[_direction];
263 _stretch_snapped[1-_direction] = _uniform ? _stretch_snapped[_direction] : 1;
266 _stretch_snapped[1-_direction] = a[1-_direction] / b[1-_direction];
267 _stretch_snapped[_direction] = _stretch_snapped[1-_direction];
271 // _stretch_snapped might have one or both components at infinity!
274 snapped_point.setSnapDistance(std::abs(_stretch_snapped[_direction] - _magnitude));

Completed in 32 milliseconds