DrawLine performance issue RRS feed

  • Question

  • Hi,

    I'm writing a simple custom control that displays something like a grid on the client area.

    It is something called 'direction fields' which is used to study numerical differential equation solutions. To be brief let say I have to draw a little line for every grid point. I've noticed that using the DrawLine method while overriding the CustomControl.OnRender method can turn my application to be very very slow.

    Please can you help me? I there a better way in WPF to perfom vector graphics when a high number of vectors is needed?

    Thanks in advance,


    Saturday, February 5, 2011 10:57 PM


All replies