We're looking for a C++ class wrapper for some of DirectX's directDraw functionality. Basically, we have quite a bit of drawing to do in realtime and we need to take advantage of the hardware accelerator to make it faster than simply using (for instance) GDI/GDI+ (software rendering). (most of the following requirements are open to suggestions if you know that there is a better way)
**[1]**
Absolutely necessary: The class would be able to run with or without being drawn to the screen
**[2]**
Class would be derived from CStatic. See the following article which I wrote a while back and is a good example of how I like things wrapped:
[C3DPortal][1]
**[3]**
Class would expose a pointer to the bits of the bitmap to which it must draw. e.g.
LPBYTE CDirectCanvas::GetBits()
**[4]**
Class must support generic drawing routines such as:
DrawLine
DrawLines
DrawPolygon
DrawRectangle
DrawEllipse
DrawString
FillRectangle, Ellipse, etc
**[5]**
Class needs to ber delivered in a dialog application which demonstrates the class as well as allows the user to switch between the use of GDI+ and DirectDraw to highlight the advantage of the DirectDraw wrapper.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
WinXP/2000, preferably using ATI card