private void InnerMove(MovePoints points) { _startSignPoint = points.MStart; _endSignPoint = points.MEnd; _virtualBounds = points.VBound; _isSelected = true; Invalidate(); }
public override void Move(Point point) { int w = (_virtualBounds.Location.X - point.X) / Zoom; int h = (_virtualBounds.Location.Y - point.Y) / Zoom; Size size = new Size(w, h); MovePoints moves = new MovePoints(); moves.MStart = _startSignPoint - size; moves.MEnd = _endSignPoint - size; moves.VBound = new Rectangle(point, _virtualBounds.Size); LinePoints = moves; }