FlatRedBall.AnimationEditorForms.Wireframe.Ruler.HandleAddingGuides C# (CSharp) Method

HandleAddingGuides() private method

private HandleAddingGuides ( ) : void
return void
        private void HandleAddingGuides()
        {
            if (mCursor.PrimaryClick)
            {
                float x = mCursor.X;
                float y = mCursor.Y;

                if (x > mRectangle.X && x < mRectangle.X + mRectangle.Width &&
                    y > mRectangle.Y && y < mRectangle.Y + mRectangle.Height)
                {
                    AddGuide(x, y);
                }
            }
        }