public override void MoveDrawing(float dx, float dy, Keys modifierKeys, bool zooming) { if (zooming) { return; } if (CalibrationHelper == null) { return; } if ((modifierKeys & Keys.Alt) == Keys.Alt) { // Change the number of divisions. styleHelper.GridDivisions = styleHelper.GridDivisions + (int)((dx - dy) / 4); styleHelper.GridDivisions = Math.Min(Math.Max(styleHelper.GridDivisions, minimumSubdivisions), maximumSubdivisions); } else { if (!styleHelper.Perspective) { quadImage.Translate(dx, dy); CalibrationHelper.CalibrationByPlane_Update(Id, quadImage); } } SignalAllTrackablePointsMoved(); }
public override void MoveDrawing(float dx, float dy, Keys modifiers, bool zooming) { quadImage.Translate(dx, dy); }