Here is what I found:
I created a class that subclasses Image.
public class MyImage : Image {
WriteableBitmap has a method called WritePixels that takes an array of unsigned ints as pixel data. I set the image source as WriteableBitmap. Now when I update the pixel data and call WritePixels, it updates the image.
I store business point data in a separate object as a list of points. I do the conversions in the list and update the pixel data with the converted points. Thus, there is no overhead from geometry objects.
Just FYI, I connect my points with lines drawn using the Bresenham algorithm.
This method is extremely fast. I update about 50,000 points (and connecting lines) in response to mouse movements without noticeable lag.
Klay
source share