Experts must come in and find an algorithm with high scores.

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.