Searched refs:origin_or_vector (Results 1 - 2 of 2) sorted by relevance
/inkscape/src/ |
H A D | snap.h | 317 * @param origin_or_vector Data used for tangential and perpendicular snapping. When rotating a guide the origin of the rotation is specified here, whereas when 319 * @param origin If true then origin_or_vector contains an origin, other it contains a vector 320 * @param freeze_angle If true (in which case origin is false), then the vector specified in origin_or_vector will not be touched, i.e. the guide will 321 * in all circumstances keep its angle. Otherwise the vector in origin_or_vector can be updated, meaning that the guide might take on the angle of a curve that 324 void guideFreeSnap(Geom::Point &p, Geom::Point &origin_or_vector, bool origin, bool freeze_angle) const;
|
H A D | snap.cpp | 388 void SnapManager::guideFreeSnap(Geom::Point &p, Geom::Point &origin_or_vector, bool origin, bool freeze_angle) const argument 401 candidate.addOrigin(origin_or_vector); 404 candidate.addVector(Geom::rot90(origin_or_vector)); 419 origin_or_vector = Geom::rot90(s.getTangent()); // then use it to update the normal of the guide
|
Completed in 42 milliseconds