udvat
06-17-2007, 09:37 PM
lets say,
my desired output image is composed of 400 pixels
I have stored all necessary informations of these pixels in an array[20][20].
Now I want to setup a circular boundary. If a pixel fall in the boundary,it should be drawn and otherwise not. How can I set and check this condition?
I want the center of the circle located at array[height/2][width/2] position.
my desired output image is composed of 400 pixels
I have stored all necessary informations of these pixels in an array[20][20].
Now I want to setup a circular boundary. If a pixel fall in the boundary,it should be drawn and otherwise not. How can I set and check this condition?
I want the center of the circle located at array[height/2][width/2] position.