PDA

Click to See Complete Forum and Search --> : create bitmap


danab
Nov 16th, 2000, 05:09 PM
I am trying to create a bitmap without displaying
it in a form or something as such.
I just need to create it and draw a few lines according to coordinates I have.
The displaying of the picture is not necessary for me till much later.
I am assuming I have to use API calls for this but they are hard to figure out alone.
If anybody has simple sample code for something like this,
It would help me greatly.
Thanks.
Dan.

/\/\isanThr0p
Nov 17th, 2000, 10:09 AM
Use all the createDC stuff. You can find the best exsamples about this on fox programming page. Just go to a post and search for a post of fox. His Url is in his signature. I don't know the URL now.

Fox
Nov 17th, 2000, 11:11 AM
Well, here is it ;)


The example you're looking for is here (http://orion.spaceports.com/~mccloud/coding/graphics/offscreendcs.zip)

Have a nice day :)