Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to capture mouse input as freehand sketch then save to bmp file?

Status
Not open for further replies.

wcglorioso

Programmer
Jul 23, 2003
30
PH
Hi all,

Anybody here who can help me in developing a freehand drawing program?
The pen would be the mouse while the paper would be a small window with a with background.
I would like to capture the mouse coordinates, translate it into freehand lines, then save it to a bitmap file.
I am having difficulty in dealing with graphics.
The saving into a bitmap file is way to hard for me to figure out.

Regards,

wcglorioso
 
Okay what you can try to do is o read about DIB and how to use and manage them, then use some api like "setpixel" to do so
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top