Lines Matching defs:skew
255 // While dragging a handle, we will either scale, skew, or rotate and the "translating" parameter will be false
776 skew(handle, *position, state);
1133 Geom::Scale skew = calcScaleFactors(_point, pt, _origin, true);
1135 skew[dim_b] = 1;
1145 double radians = atan(skew[dim_a] / scale[dim_a]);
1158 skew[dim_a] = tan(radians) * scale[dim_a];
1166 Inkscape::PureSkewConstrained sn = Inkscape::PureSkewConstrained(skew[dim_a], scale[dim_a], _origin, Geom::Dim2(dim_b));
1170 // We snapped something, so change the skew to reflect it
1171 skew[dim_a] = sn.getSkewSnapped();
1181 pt[dim_b] = initial_delta[dim_a] * skew[dim_a] + _point[dim_b];
1339 void Inkscape::SelTrans::skew(SPSelTransHandle const &/*handle*/, Geom::Point &/*pt*/, guint /*state*/)
1501 Geom::Scale Inkscape::calcScaleFactors(Geom::Point const &initial_point, Geom::Point const &new_point, Geom::Point const &origin, bool const skew)
1512 if (skew) {