Experts must come in and find an algorithm with high scores. Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiMultimedia/html/delphi_20061011022255256.html
The requirement is that there is an image on a timage, the background color of the image is white, there are three black rectangles, and the three rectangles are not connected. when you click a rectangle with the mouse, the area of the rectangle is filled with another timage image. To facilitate your help, I have made the picture: http://terry.imwork.net/csdn/mypic.htm
I have been in csdn for many years and will use all the functions and problems of the Forum to solve the problem. I will post the issue in a timely manner. If the score is not enough, I will add the score to the group. Email: terryyie@21cn.com
1. Calculate the area of the three rectangles.
2. process the onmousedown event of image1. If the event is located in a region above, draw the image to be drawn in image1.picture.
Up
Speed Up Display
The location must be accurately calculated.
The first one. By the way !!
Up