out of complete boredom and my inability to make a better game than hangman (which by the way ran at a healthy 600fps and will be the only thing ill ever complete), ive decided to create something similar to mspaint.
ive already done some very simple code to draw pencil lines but have a few questions which somebody may know the answer to..
firstly if you draw a line in mspaint it will never have gaps so it must use some method to compensate for areas in between the pencil marks it picks up in the loop. im sure this is very easy to do, just a simple check to see if mouseclick is still flagged and then fill in the dots but i just want to see if this is how it really works. sorry if ive confused anyone.
also if you create a bitmap 512x512 pixels paint must hold color data for each pixel. i have an array like pixels(imagewidth,imageheight,3) which holds 3bytes (3 colors) for every pixel. i work this out to be 512 * 512 * 3 = 768kb. so this must be all the bmp format holds? also if anyone knows anything else id need to know to finish all the functions of paint then please advise me. thanks
gsd