Apply a skew to a set of points and snap such that the direction of the skew is preserved.
Definition at line 868 of file snap.cpp. References _displaySnapsource(), _snapTransformed(), and _transformPoint(). { // "s" contains skew factor in s[0], and scale factor in s[1] // Snapping the nodes of the bounding box of a selection that is being transformed, will only work if // the transformation of the bounding box is equal to the transformation of the individual nodes. This is // NOT the case for example when rotating or skewing. The bounding box itself cannot possibly rotate or skew, // so it's corners have a different transformation. The snappers cannot handle this, therefore snapping // of bounding boxes is not allowed here. if (p.size() > 0) { g_assert(!(p.at(0).getSourceType() & Inkscape::SNAPSOURCE_BBOX_CATEGORY)); } if (p.size() == 1) { Geom::Point pt = _transformPoint(p.at(0), SKEW, s, o, d, false); _displaySnapsource(Inkscape::SnapCandidatePoint(pt, p.at(0).getSourceType())); } return _snapTransformed(p, pointer, true, constraint, SKEW, s, o, d, false); }
