Searched refs:constraint (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/
H A Dknot-holder-entity.cpp115 KnotHolderEntity::snap_knot_position_constrained(Geom::Point const &p, Inkscape::Snapper::SnapConstraint const &constraint, guint state) argument
127 // constrainedSnap() will first project the point p onto the constraint line and then try to snap along that line.
128 // This way the constraint is already enforced, no need to worry about that later on
129 Inkscape::Snapper::SnapConstraint transformed_constraint = Inkscape::Snapper::SnapConstraint(constraint.getPoint() * i2d, (constraint.getPoint() + constraint.getDirection()) * i2d - constraint.getPoint() * i2d);
H A Dsnap.h235 * Try to snap a point along a constraint line to grids, guides or objects.
249 * then this method will still apply the constraint (but without snapping)
260 * @param constraint The direction or line along which snapping must occur.
265 Inkscape::Snapper::SnapConstraint const &constraint,
269 * Try to snap a point along a constraint line to grids, guides or objects.
279 * method will still apply the constraint (but without snapping)
282 * @param constraint The direction or line along which snapping must occur.
286 Inkscape::Snapper::SnapConstraint const &constraint,
298 * if CTRL is being pressed. This method will enforce this angular constraint (even if there is nothing
407 * If no snap has occurred and we're asked for a constrained snap then the constraint
[all...]
H A Dknot-holder-entity.h71 Geom::Point snap_knot_position_constrained(Geom::Point const &p, Inkscape::Snapper::SnapConstraint const &constraint, unsigned int state);
H A Dsnap.cpp215 Inkscape::Snapper::SnapConstraint const &constraint,
218 Inkscape::SnappedPoint const s = constrainedSnap(Inkscape::SnapCandidatePoint(p, source_type), constraint, bbox_to_snap);
219 p = s.getPoint(); // If we didn't snap, then we will return the point projected onto the constraint
223 Inkscape::Snapper::SnapConstraint const &constraint,
226 // First project the mouse pointer onto the constraint
227 Geom::Point pp = constraint.projection(p.getPoint());
232 // Always return point on constraint
241 // to snap to things which don't intersect with the constraint line; this is basically
242 // then just a freesnap with the constraint applied afterwards
250 // Apply the constraint
213 constrainedSnapReturnByRef(Geom::Point &p, Inkscape::SnapSourceType const source_type, Inkscape::Snapper::SnapConstraint const &constraint, Geom::OptRect const &bbox_to_snap) const argument
222 constrainedSnap(Inkscape::SnapCandidatePoint const &p, Inkscape::Snapper::SnapConstraint const &constraint, Geom::OptRect const &bbox_to_snap) const argument
[all...]
H A Dsp-guide.cpp35 #include <sp-guide-constraint.h>
/inkscape/src/libcola/
H A Dgradient_projection.cpp17 #include <libvpsc/constraint.h>
109 //project to constraint boundary
169 // global constraint list (including alignment constraints,
H A Dgradient_projection.h6 #include <libvpsc/constraint.h>
55 // for each of the "real" variables, create a constraint that puts that var

Completed in 21 milliseconds