I need to find an efficient way to draw basic rectangles to a bitmap and have my PictureBox reflect that bitmap. As it stands I am drawing to the bitmap and my PictureBox reflects that image. However the drawing is super laggy; especially when you jerk the mouse across the canvas.
How can I fix this?

1 answers
OK, so I fixed the problem by drawing lines and filling in "bad" spots (happened when moving slowly) with circles. Here's the code:
answered 2 years ago by:
121
121
I should also mention that multi-threading is being used. Main thread creates points, second thread draws on top of them.