How to draw line of ten thousands of points with WPF within 0.5 second?

后端 未结 5 533
攒了一身酷
攒了一身酷 2020-12-23 02:12

I am writing WPF code to show a real-time plot which is a connected line containing about 10,000 points. It takes about 5 seconds to show a picture in my computer. Does anyo

5条回答
  •  死守一世寂寞
    2020-12-23 02:38

    Should the lines be selectable? You can draw lines in the image, then give it as a source to Image control. It will draw faster but you will lose ability to interact with lines.

提交回复
热议问题