adlep
Diamond Member
HeSorry to posting here, but the Software section is rather slow today...:
have to create a line drawing algorithm (done), but on the top of that I need to add to my program an user's input option.
User should be able to specify the pixel size from 1 to 10 so that it is possible to see clearly the effect of rasterization in window.
So if user specifies 1, program draws a nice straight line, but if the input is 10, program draws a nasty, big line full of jigglies, because of no antialiasing algorithm...
Help Plz?
Is the SetPixel() function is a right function to use?
have to create a line drawing algorithm (done), but on the top of that I need to add to my program an user's input option.
User should be able to specify the pixel size from 1 to 10 so that it is possible to see clearly the effect of rasterization in window.
So if user specifies 1, program draws a nice straight line, but if the input is 10, program draws a nasty, big line full of jigglies, because of no antialiasing algorithm...
Help Plz?
Is the SetPixel() function is a right function to use?