NPlot.Windows.PlotSurface2D.DoMouseDown C# (CSharp) Method

DoMouseDown() public method

All functionality of the OnMouseDown function is contained here. This allows use of the all encompasing PlotSurface.
public DoMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs The mouse event args from the window we are drawing to.
return void
        public void DoMouseDown(MouseEventArgs e)
        {
            bool dirty = false;
            foreach (Interactions.Interaction i in interactions_)
            {
                i.DoMouseDown(e, this);
                dirty |= i.DoMouseDown(e, this);
            }
            if (dirty)
            {
                Refresh();
            }
        }