My english is poor. But I must solve the problem.
I need to create a program which the user can create the path by themselves.
The orginal demand is to clip specified region in an image .I think, first ,save a path which created by user ,the clip the image.Now how to create the complex path that used mouse click.