Your program should use a window that is 400 by 300 pixels in size. The background should be white. You should draw an unfilled 2-pixel green-bordered rectangle centered at center of the window, whose width is half the window width and whose height is half the window height.
Then, you should draw a borderless blue plus sign inside the rectangle, centered at the center of the window as well. The thickness of the plus sign should be a tenth of the window width.
Lastly, when a user presses the mouse outside the green-bordered rectangle, a growing red circle should be displayed centered at the location where the mouse is pressed. The circle, as it grows, should become more transparent and eventually disappear when the diameter of the circle reaches 255.
Then, you should draw a borderless blue plus sign inside the rectangle, centered at the center of the window as well. The thickness of the plus sign should be a tenth of the window width.
Lastly, when a user presses the mouse outside the green-bordered rectangle, a growing red circle should be displayed centered at the location where the mouse is pressed. The circle, as it grows, should become more transparent and eventually disappear when the diameter of the circle reaches 255.
1