private void MouseMovedToMoveDraggable(MouseEventArgs e) { plottableBeingDragged.DragTo( plt.CoordinateFromPixelX(GetPixelPosition(e).X), plt.CoordinateFromPixelY(GetPixelPosition(e).Y), isShiftPressed, isAltPressed, isCtrlPressed); Render(true); }
private void MouseMovedToMoveDraggable() { plottableBeingDragged.DragTo( plt.CoordinateFromPixelX(mouseLocation.X), plt.CoordinateFromPixelY(mouseLocation.Y), isShiftPressed, isAltPressed, isCtrlPressed); Render(true); }
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); }
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); }
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); }
private void MouseMovedToMoveDraggable(MouseEventArgs e) { PointF coordinate = plt.CoordinateFromPixel(e.Location); plottableBeingDragged.DragTo(coordinate.X, coordinate.Y); OnMouseDragPlottable(EventArgs.Empty); Render(true, lowQuality: lowQualityWhileDragging); }
private void MouseMovedToMoveDraggable() { plottableBeingDragged.DragTo(plt.GetCoordinateX(mouseLocation.X), plt.GetCoordinateY(mouseLocation.Y), isShiftPressed); Render(true); }