Currently I encouter a performance issue in CSharp PictureBox with
GDIPlus rendering, my dataset is 78 curves, 512 points in each curve.
I enabled the doublebuffer in WinForm, first use Graphics::DrawLines
put all the curves in a memory bitmap, then draw the memory bitmap
with the OnPaint graphics.
However the bottleneck is not the DrawImage in the OnPaint function
which I found out many complains in Google search, but the DrawLines.
The cpu usage is:
1. DrawLines add up to 10%.
2. DrawImage 3%.
Besides, I enabled the double buffer by
in the PictureBox.