Optimize a small MFC app and fix some simple drawing issues

Completed Posted Dec 13, 2005 Paid on delivery
Completed Paid on delivery

We have an application that displays a "sun clock" as shown in the screenshot below. It loads a bitmap image of the earth. calculates the sun position and shades the bitmap to indicate day/night.

Attached is a working test application. It works OK, but there are some minor issues. The bitmap is not redrawing itself when the parent window is repainted/erased. To reproduce the problem, cover the dialog with another window, or simply move the dialog on the screen. The earth image will disappear. If you have a good knowledge of MFC and GDI this should be easy to fix.

We also want to optimize the code. The mathematical calculations seem to be inefficient and it takes a long time to redraw the bitmap on slower computers. So we want someone to reduce the number of divisions/calculations and improve performance as much as possible. You must be good at math, and enjoy optimizing complex calculations. We will give a bonus if you can significantly optimize the code.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Microsoft Visual C++ 7.1 or 8.0

MFC

C Programming Engineering MySQL PHP Software Architecture Software Testing

Project ID: #3155313

About the project

10 proposals Remote project Active Dec 14, 2005

Awarded to:

gb1vw

See private message.

$21.25 USD in 3 days
(11 Reviews)
2.1

10 freelancers are bidding on average $55 for this job

ventiljvw

See private message.

$5.95 USD in 3 days
(30 Reviews)
5.6
zabvw

See private message.

$42.5 USD in 3 days
(47 Reviews)
5.5
codernextvw

See private message.

$34 USD in 3 days
(58 Reviews)
5.5
pavb

See private message.

$38.25 USD in 3 days
(12 Reviews)
4.8
giovannidelcolle

See private message.

$85 USD in 3 days
(11 Reviews)
4.9
coolfishx

See private message.

$68 USD in 3 days
(15 Reviews)
4.1
solutionpad

See private message.

$72.25 USD in 3 days
(10 Reviews)
4.1
terasoftnet

See private message.

$12.75 USD in 3 days
(2 Reviews)
0.4
scafe

See private message.

$170 USD in 3 days
(0 Reviews)
0.0