Beispiel #1
0
 private void MouseMovedToMoveDraggable(MouseEventArgs e)
 {
     plottableBeingDragged.DragTo(
         plt.CoordinateFromPixelX(GetPixelPosition(e).X), plt.CoordinateFromPixelY(GetPixelPosition(e).Y),
         isShiftPressed, isAltPressed, isCtrlPressed);
     Render(true);
 }
Beispiel #2
0
 private void MouseMovedToMoveDraggable()
 {
     plottableBeingDragged.DragTo(
         plt.CoordinateFromPixelX(mouseLocation.X), plt.CoordinateFromPixelY(mouseLocation.Y),
         isShiftPressed, isAltPressed, isCtrlPressed);
     Render(true);
 }
Beispiel #3
0
        public void ProcessEvent()
        {
            double xCoord = Plot.GetCoordinateX(X, ((IPlottable)PlottableBeingDragged).XAxisIndex);
            double yCoord = Plot.GetCoordinateY(Y, ((IPlottable)PlottableBeingDragged).YAxisIndex);

            PlottableBeingDragged.DragTo(xCoord, yCoord, fixedSize: ShiftDown);
        }
Beispiel #4
0
        private void MouseMovedToMoveDraggable(MouseEventArgs e)
        {
            var coordinate = plt.CoordinateFromPixel(GetPixelPosition(e).X, GetPixelPosition(e).Y);

            plottableBeingDragged.DragTo(coordinate.X, coordinate.Y);
            Render(true);
        }
        public void ProcessEvent()
        {
            double xCoord = Plot.GetCoordinateX(X);
            double yCoord = Plot.GetCoordinateY(Y);

            PlottableBeingDragged.DragTo(xCoord, yCoord, fixedSize: ShiftDown);
        }
Beispiel #6
0
 private void MouseMovedToMoveDraggable(MouseEventArgs e)
 {
     plottableBeingDragged.DragTo(
         plt.GetCoordinateX((float)GetPixelPosition(e).X), plt.GetCoordinateY((float)GetPixelPosition(e).Y),
         isShiftPressed, isAltPressed, isCtrlPressed);
     OnMouseDragPlottable(new PlottableDragEventArgs(plottableBeingDragged, e));
     Render(true);
 }
Beispiel #7
0
        private void MouseMovedToMoveDraggable(MouseEventArgs e)
        {
            PointF coordinate = plt.CoordinateFromPixel(e.Location);

            plottableBeingDragged.DragTo(coordinate.X, coordinate.Y);
            OnMouseDragPlottable(EventArgs.Empty);
            Render(true, lowQuality: lowQualityWhileDragging);
        }
Beispiel #8
0
 private void MouseMovedToMoveDraggable()
 {
     plottableBeingDragged.DragTo(plt.GetCoordinateX(mouseLocation.X), plt.GetCoordinateY(mouseLocation.Y), isShiftPressed);
     Render(true);
 }