Lines Matching defs:state
97 KnotHolderEntity::snap_knot_position(Geom::Point const &p, guint state)
99 if (state & GDK_SHIFT_MASK) { // Don't snap when shift-key is held
115 KnotHolderEntity::snap_knot_position_constrained(Geom::Point const &p, Inkscape::Snapper::SnapConstraint const &constraint, guint state)
117 if (state & GDK_SHIFT_MASK) { // Don't snap when shift-key is held
159 PatternKnotHolderEntityXY::knot_set(Geom::Point const &p, Geom::Point const &origin, guint state)
164 Geom::Point p_snapped = snap_knot_position(p, state);
166 if ( state & GDK_CONTROL_MASK ) {
174 if (state) {
205 PatternKnotHolderEntityAngle::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state)
216 if ( state & GDK_CONTROL_MASK ) {
231 PatternKnotHolderEntityScale::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state)
236 Geom::Point p_snapped = snap_knot_position(p, state);
246 if ( state & GDK_CONTROL_MASK ) {