Oy! Please don't use a vector (or any other STL container) to hold individual pixel data -- Just draw directly to the target surface.
Also, you needn't directly calculate every pixel in the circle. One quarter of them is sufficient. (That is, calculate 1/4 of the circle, and draw four pixels each step.)
Good luck!
Reputation Points: 1140
Solved Threads: 229
Postaholic
Offline 2,039 posts
since Oct 2007