select_tool_with_point


Description:

public void select_tool_with_point (string name, double x, double y)

Select a drawing tool and start an operation

The m_current_tool should not be null, but this function would need to execute to correct the issue. Otherwise, the value would be 'stuck' at null. So, this function treats m_current_tool equal to null as a valid precondition.

Parameters:

name

The name of the tool to select

x

The x coordinate to start the tool operation

y

The y coordinate to start the tool operation