Quantcast
Channel: paint event on picturebox
Viewing all articles
Browse latest Browse all 48

paint event on picturebox

$
0
0

Ok I ran it out longer and after 20,000 pts then the draw all in paint event lags to 50 fps and the bitmap add one point each tick is staying at 64 fps.

Again graphicsbuffer and of course directx are faster pure drawing.

Now you need to print it so it will be good to have one drawing routine for both screen and printer etc.

One must be careful not to cause a paint event when capturing the image.

Results with 30,000 points:

   Draw all points in Paint:                          5677

   Draw each new point on existing bitmap: 4685 sec

 

 


Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>