I have a WriteableBitmap of Width 512, Height 480 but I believe this problem happens on any WriteableBitmap. When I draw a line such as 0,480 to 500,480 with a stroke thickness greater than 1, I get the exception. Also for x1,479 to x2,479 where x1 and x2 are reasonable. Using y1 not equal y2 prevents the exception. I'm using version 1.50 on Windows 10, VS Community 2015.
↧